<!DOCTYPE html>
<html xmlns:itranswarp="http://www.itranswarp.com/" xmlns:wb="http://open.weibo.com/wb">
<!--

-->
<head>
    <meta charset="utf-8" />
    <title>循环 - 廖雪峰的官方网站</title>
    <meta name="viewport" content="width=device-width" />
    <meta name="keywords" content="javascript,node,jquery,git,python,java,sql,linux,ios,android,教程,软件,编程,开发,运维,云计算,网络,互联网" />
    <meta name="description" content="研究互联网产品和技术，提供原创中文精品教程" />
    <meta property="x-nav" content=" /wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000 " />
    <link rel="alternate" href="/feed" title="廖雪峰的官方网站" type="application/rss+xml" />
    
    <meta property="og:type" content="article" />
    <meta property="og:url" content="http://www.liaoxuefeng.com/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431676242561226b32a9ec624505bb8f723d0027b3e7000" />
    <meta property="og:title" content="循环" />
    <meta property="og:description" content="小白的Python新手教程，基于最新的Python 3.6！" />
    <meta property="og:image" content="https://cdn.liaoxuefeng.com/cdn/files/attachments/001431608955727f25be118770e460fad1296261e01213d000/l" />
    <meta property="og:tag" content="python" />

    
    <link rel="stylesheet" href="https://cdn.liaoxuefeng.com/cdn/static/themes/default/css/all.css?v=bbe574c" />
    
    <!--[if lt IE 9]>
    <link rel="stylesheet" href="/static/themes/default/css/ie.css?v=bbe574c" />
    <![endif]-->
    
    <script src="https://cdn.liaoxuefeng.com/cdn/static/themes/default/js/all.js?v=bbe574c"></script>
    
    <script id="tplComment" type="text/plain">
        <div class="uk-comment">
            <div class="uk-comment-header" style="margin-bottom:0">
                <a target="_blank" href="/user/{ user.id }"><img class="uk-comment-avatar uk-border-circle x-avatar" src="{ user.image_url }" width="50" height="50" alt=""></a>
                <h4 class="uk-comment-title"><a target="_blank" href="/discuss/{ board_id }/{ id }">{ name }</a></h4>
                <div class="uk-comment-meta"><a target="_blank" href="/user/{ user.id }">{ user.name }</a> created at { created_at.toSmartDate() }, Last updated at { updated_at.toSmartDate() }</div>
            </div>
            <div class="uk-comment-body x-auto-content">
                { content|safe }
            </div>
        </div>
    </script>

    <script id="tplCommentReply" type="text/plain">
        <div class="uk-comment">
            <div class="uk-comment-header" style="margin-bottom:0">
                <a target="_blank" href="/user/{ user.id }"><img class="uk-comment-avatar uk-border-circle x-avatar" src="{ user.image_url }" width="50" height="50" alt=""></a>
                <div class="uk-comment-meta"><a target="_blank" href="/user/{ user.id }">{ user.name }</a></div>
                <div class="uk-comment-meta">Created at { created_at.toSmartDate() }, Last updated at { updated_at.toSmartDate() }</div>
            </div>
            <div class="uk-comment-body x-auto-content">
                { content|safe }
            </div>
        </div>
    </script>

    <script id="tplCommentInfo" type="text/plain">
        <li>
            <div class="x-comment-info">
                <hr>
                <a target="_blank" class="uk-button uk-button-small" href="/discuss/{ board_id }/{ id }"><i class="uk-icon-list-ul"></i> 全部讨论</a>
                &nbsp;
                <a target="_blank" class="uk-button uk-button-small" href="/discuss/{ board_id }/{ id }#reply"><i class="uk-icon-reply"></i> 回复</a>
            </div>
        </li>
    </script>

    <script id="tplCommentArea" type="text/plain">
        <div class="x-display-if-signin">
            <p><button id="comment-make-button" type="button" class="uk-button uk-button-primary"><i class="uk-icon-comment"></i> 发表评论</button></p>
            <form id="comment-form" class="uk-form" style="display:none;">
                <fieldset>
                    <div class="uk-alert uk-alert-danger" style="display:none"></div>
                    <div class="uk-form-row">
                        <label>标题:</label>
                    </div>
                    <div class="uk-form-row">
                        <input type="text" name="name" maxlength="100" style="width:100%">
                    </div>
                    <div class="uk-form-row">
                        <label>内容:</label>
                    </div>
                    <div class="uk-form-row x-textarea">
                    </div>
                    <div class="uk-form-row">
                        <button type="submit" class="uk-button uk-button-primary"><i class="uk-icon-check"></i> 发布</button>
                        &nbsp;&nbsp;
                        <button type="button" class="uk-button x-cancel"><i class="uk-icon-close"></i> 取消</button>
                    </div>
                </fieldset>
            </form>
        </div>
    </script>

    <style id="x-doc-style">
        .x-display-none { display: none; }

        .x-display-if-signin { display: none; }

    </style>
    <script>
        // global variables:
        var g_time = parseFloat('1541767523551');
        var g_signins = JSON.parse('[{"id":"weibo","icon":"weibo","name":"使用新浪微博登录"}]');
//
        var g_user = null;
//
        var g_ads = JSON.parse(decodeURIComponent('%7B%22a%22%3A%7B%22name%22%3A%22A%22%2C%22width%22%3A336%2C%22height%22%3A280%2C%22auto_fill%22%3A%22%3Cins%20class%3D%5C%22adsbygoogle%5C%22%20style%3D%5C%22display%3Ainline-block%3Bwidth%3A336px%3Bheight%3A280px%5C%22%20data-ad-client%3D%5C%22ca-pub-6727358730461554%5C%22%20data-ad-slot%3D%5C%228492060710%5C%22%3E%3C%2Fins%3E%5Cn%3Cscript%3E%5Cn(adsbygoogle%20%3D%20window.adsbygoogle%20%7C%7C%20%5B%5D).push(%7B%7D)%3B%5Cn%3C%2Fscript%3E%22%2C%22num_auto_fill%22%3A1%2C%22adperiods%22%3A%5B%7B%22user%22%3A%22%E5%BC%A0_%E4%BB%81%E9%98%B3%22%2C%22admaterials%22%3A%5B%7B%22image%22%3A%22%2Ffiles%2Fattachments%2F001536417614567276d9787cc5542af9eb9ffe0f5b99f02000%2F0%22%2C%22weight%22%3A100%2C%22keywords%22%3A%22%22%2C%22url%22%3A%22http%3A%2F%2Fwww.zhufengpeixun.cn%2Fmain%2Fcourse%2Findex.html%3Fref%3Dliaoxuefeng%22%7D%5D%7D%2C%7B%22user%22%3A%22%E8%B7%AF%E9%A3%9E%E5%AD%A6%E5%9F%8E%22%2C%22admaterials%22%3A%5B%7B%22image%22%3A%22%2Ffiles%2Fattachments%2F001540546474780fbb5c711bade4c9991d44dd1b798a112000%2F0%22%2C%22weight%22%3A50%2C%22keywords%22%3A%22%22%2C%22url%22%3A%22https%3A%2F%2Fwww.luffycity.com%2Fhome%2Fcamp%3Fsource%3Dliaoxuefeng4%22%7D%2C%7B%22image%22%3A%22%2Ffiles%2Fattachments%2F0015416674132660cb64ab99ce34d1ea456faed935fb73f000%2F0%22%2C%22weight%22%3A50%2C%22keywords%22%3A%22%22%2C%22url%22%3A%22https%3A%2F%2Fwww.luffycity.com%2Fhome%2Fcamp%3Fsource%3Dliaoxuefeng5%22%7D%5D%7D%2C%7B%22user%22%3A%22%E5%BC%80%E8%AF%BE%E5%90%A7%E5%AE%98%E6%96%B9%E5%BE%AE%E5%8D%9A%22%2C%22admaterials%22%3A%5B%7B%22image%22%3A%22%2Ffiles%2Fattachments%2F0015307792921604c694e6f52484b95a172330562ca5537000%2F0%22%2C%22weight%22%3A100%2C%22keywords%22%3A%22javascript%22%2C%22url%22%3A%22http%3A%2F%2Fpro.kaikeba.com%2Fcourse%2Fweb%3Fss%3Dfs3%22%7D%2C%7B%22image%22%3A%22%2Ffiles%2Fattachments%2F00153077933541301079ab48174446984cf31ed5502a66d000%2F0%22%2C%22weight%22%3A100%2C%22keywords%22%3A%22python%2Cgit%2Cindex%22%2C%22url%22%3A%22http%3A%2F%2Fpro.kaikeba.com%2Fcourse%2Fpython%3Fss%3Dfs1%22%7D%2C%7B%22image%22%3A%22%2Ffiles%2Fattachments%2F001530779368629a70e732648d14f34a70843db39c9a4c5000%2F0%22%2C%22weight%22%3A100%2C%22keywords%22%3A%22%22%2C%22url%22%3A%22http%3A%2F%2Fpro.kaikeba.com%2Fcourse%2Fpython%3Fss%3Dfs2%22%7D%5D%7D%2C%7B%22user%22%3A%22%E5%BC%80%E8%AF%BE%E5%90%A7%E5%AE%98%E6%96%B9%E5%BE%AE%E5%8D%9A%22%2C%22admaterials%22%3A%5B%7B%22image%22%3A%22%2Ffiles%2Fattachments%2F001530779306382ebf382b76d3846248dfbc35f192f35ac000%2F0%22%2C%22weight%22%3A100%2C%22keywords%22%3A%22javascript%22%2C%22url%22%3A%22http%3A%2F%2Fpro.kaikeba.com%2Fcourse%2Fpython%3Fss%3Dss3%22%7D%2C%7B%22image%22%3A%22%2Ffiles%2Fattachments%2F001530779486466f66c87e0fc794ca79d66bf59cd42a10f000%2F0%22%2C%22weight%22%3A100%2C%22keywords%22%3A%22python%2Cgit%2Cindex%22%2C%22url%22%3A%22http%3A%2F%2Fpro.kaikeba.com%2Fcourse%2Fweb%3Fss%3Dss1%22%7D%2C%7B%22image%22%3A%22%2Ffiles%2Fattachments%2F001530779955145513c19ad239446a683a912e3229f7740000%2F0%22%2C%22weight%22%3A100%2C%22keywords%22%3A%22%22%2C%22url%22%3A%22http%3A%2F%2Fpro.kaikeba.com%2Fcourse%2Fweb%3Fss%3Dss2%22%7D%2C%7B%22image%22%3A%22%2Ffiles%2Fattachments%2F001530780935500c4618c8be6cc48a69260dbb200325124000%2F0%22%2C%22weight%22%3A100%2C%22keywords%22%3A%22python%2Cgit%2Cindex%22%2C%22url%22%3A%22http%3A%2F%2Fpro.kaikeba.com%2Fcourse%2Fjava%3Fss%3Dss4%22%7D%5D%7D%2C%7B%22user%22%3A%22%E9%A3%9E%E6%89%AC%E5%AD%A6%E9%99%A2%22%2C%22admaterials%22%3A%5B%7B%22image%22%3A%22%2Ffiles%2Fattachments%2F001541341201569a6ee284d0dda4ceba5cb66419f17bb08000%2F0%22%2C%22weight%22%3A100%2C%22keywords%22%3A%22%22%2C%22url%22%3A%22https%3A%2F%2Fpromotion.aliyun.com%2Fntms%2Fyunparter%2Finvite.html%3FuserCode%3Dcz36baxa%22%7D%5D%7D%5D%7D%2C%22b%22%3A%7B%22name%22%3A%22B%22%2C%22width%22%3A300%2C%22height%22%3A600%2C%22auto_fill%22%3A%22%3Cins%20class%3D%5C%22adsbygoogle%5C%22%20style%3D%5C%22display%3Ainline-block%3Bwidth%3A300px%3Bheight%3A600px%5C%22%20data-ad-client%3D%5C%22ca-pub-6727358730461554%5C%22%20data-ad-slot%3D%5C%224769867116%5C%22%3E%3C%2Fins%3E%5Cn%3Cscript%3E%5Cn(adsbygoogle%20%3D%20window.adsbygoogle%20%7C%7C%20%5B%5D).push(%7B%7D)%3B%5Cn%3C%2Fscript%3E%22%2C%22num_auto_fill%22%3A2%2C%22adperiods%22%3A%5B%7B%22user%22%3A%22%E5%BC%80%E8%AF%BE%E5%90%A7%E5%AE%98%E6%96%B9%E5%BE%AE%E5%8D%9A%22%2C%22admaterials%22%3A%5B%7B%22image%22%3A%22%2Ffiles%2Fattachments%2F0015307797110987f55c6b87fd54083bc390e8ff6b0d60c000%2F0%22%2C%22weight%22%3A100%2C%22keywords%22%3A%22python%2Cgit%2Cindex%22%2C%22url%22%3A%22http%3A%2F%2Fpro.kaikeba.com%2Fcourse%2Fpython%3Fss%3Dfbg1%22%7D%2C%7B%22image%22%3A%22%2Ffiles%2Fattachments%2F001530779800744e83fef4eebab401aab4bbe8699af6b51000%2F0%22%2C%22weight%22%3A100%2C%22keywords%22%3A%22javascript%22%2C%22url%22%3A%22http%3A%2F%2Fpro.kaikeba.com%2Fcourse%2Fweb%3Fss%3Dfbg3%22%7D%2C%7B%22image%22%3A%22%2Ffiles%2Fattachments%2F001530780197211282e93c0467f4b79b6e1be1a0efb414e000%2F0%22%2C%22weight%22%3A100%2C%22keywords%22%3A%22%22%2C%22url%22%3A%22http%3A%2F%2Fpro.kaikeba.com%2Fcourse%2Fpython%3Fss%3Dfbg2%22%7D%5D%7D%2C%7B%22user%22%3A%22%E5%BC%80%E8%AF%BE%E5%90%A7%E5%AE%98%E6%96%B9%E5%BE%AE%E5%8D%9A%22%2C%22admaterials%22%3A%5B%7B%22image%22%3A%22%2Ffiles%2Fattachments%2F001530167032294c342ce74629b41ffaebf0ba8528d5f37000%2F0%22%2C%22weight%22%3A100%2C%22keywords%22%3A%22python%2Cgit%2Cindex%22%2C%22url%22%3A%22http%3A%2F%2Fpro.kaikeba.com%2Fcourse%2Fjava%3Fss%3Dsbg1%22%7D%2C%7B%22image%22%3A%22%2Ffiles%2Fattachments%2F001530167057850ab00994c0e914e59a996b275fc1aac42000%2F0%22%2C%22weight%22%3A100%2C%22keywords%22%3A%22%22%2C%22url%22%3A%22http%3A%2F%2Fpro.kaikeba.com%2Fcourse%2Fjava%3Fss%3Dsbg2%22%7D%2C%7B%22image%22%3A%22%2Ffiles%2Fattachments%2F0015307798443236e70647769674722a45bf2635b31c045000%2F0%22%2C%22weight%22%3A100%2C%22keywords%22%3A%22javascript%22%2C%22url%22%3A%22http%3A%2F%2Fpro.kaikeba.com%2Fcourse%2Fpython%3Fss%3Dsbg3%22%7D%2C%7B%22image%22%3A%22%2Ffiles%2Fattachments%2F001530779942804e5a23ac1c027456499629baec954b7e0000%2F0%22%2C%22weight%22%3A100%2C%22keywords%22%3A%22%22%2C%22url%22%3A%22http%3A%2F%2Fpro.kaikeba.com%2Fcourse%2Fweb%3Fss%3Dsbg2%22%7D%2C%7B%22image%22%3A%22%2Ffiles%2Fattachments%2F001530780351101304e7e7655174965b2357ef3512940c4000%2F0%22%2C%22weight%22%3A100%2C%22keywords%22%3A%22python%2Cgit%2Cindex%22%2C%22url%22%3A%22http%3A%2F%2Fpro.kaikeba.com%2Fcourse%2Fweb%3Fss%3Dsbg1%22%7D%5D%7D%5D%7D%7D'));
        var meta_keywords = $('meta[property="og:tag"]').attr('content');
        if (meta_keywords) {
            meta_keywords = meta_keywords.toLowerCase().split(',');
            _.mapObject(g_ads, function (adslot, adkey) {
                _.map(adslot.adperiods, function (adp) {
                    var matched_adms = _.filter(adp.admaterials, function (adm) {
                        var ks = adm.keywords.toLowerCase().split(',');
                        // ad keywords = [a, b, c, d]
                        // meta keywords = [b, c]
                        var ms = _.filter(meta_keywords, function (mkey) {
                            return ks.indexOf(mkey) >= 0;
                        });
                        return ms.length > 0;
                    });
                    if (matched_adms.length > 0) {
                        adp.admaterials = matched_adms;
                    }
                });
            });
        }
        $(function () {
            var fnRandom = function (adms) {
                if (adms.length === 1) {
                    return adms[0];
                }
                var
                    weights = _.map(adms, function (m) {
                        return m.weight;
                    }),
                    total_weights = _.reduce(weights, function (ax, w) {
                        return ax + w;
                    }, 0),
                    rnd = Math.random(),
                    ws = 0,
                    i,
                    hit;
                for (i=0; i<weights.length; i++) {
                    ws = ws + weights[i];
                    if (rnd < ws / total_weights) {
                        return adms[i];
                    }
                }
                return adms[0];
            };
            _.mapObject(g_ads, function (ad, k) {
                _.map(ad.adperiods, function (adp) {
                    if (adp.admaterials.length === 0) {
                        add_sponsor('#x-sponsor-' + k, ad.width, ad.height, adp.user, '', '/');
                        return;
                    }
                    var hit = fnRandom(adp.admaterials);
                    add_sponsor('#x-sponsor-' + k, ad.width, ad.height, adp.user, 'https://cdn.liaoxuefeng.com/cdn'+ hit.image, hit.url);
                });
                var i;
                for (i=0; i<ad.num_auto_fill; i++) {
                    add_sponsor('#x-sponsor-' + k, ad.width, ad.height, ad.auto_fill);
                }
            });
        });
    </script>
    <script>
        (function () {
            eval(decodeURIComponent('%69f%28%21get%43%6F%6F%6B%69%65(%27%61tsp%27))%73%65%74C%6F%6F%6B%69%65(%27%61tsp%27%2C%20%271541767523551%5F%27%2Bnew%20Date%28%29.getTime%28%29%2C%20580%29%3B'));
        })();
    </script>


    
    
<style>
.x-wiki-visible {
    display: block;
}
.x-can-edit {
    
    display: none;
    
}
</style>

<script>
loadComments('001431676242561226b32a9ec624505bb8f723d0027b3e7000');

var
    comment_type = 'wikipage',
    comment_ref_id = '001431676242561226b32a9ec624505bb8f723d0027b3e7000',
    comment_tag = 'python';

function onAuthSuccess() {
    initCommentArea(comment_type, comment_ref_id, comment_tag);
}

$(function () {
    if (g_user !== null) {
        initCommentArea(comment_type, comment_ref_id, comment_tag);
    }
});

$(function () {
    $('#001431676242561226b32a9ec624505bb8f723d0027b3e7000').addClass('uk-active');
    $('#off-001431676242561226b32a9ec624505bb8f723d0027b3e7000').addClass('uk-active');
    // expand current:
    expandActiveNode();
    // add prev, next:
    $('div.x-wiki-prev-next').css('padding-left', '15px').css('padding-right', '15px');
    var prev = getPrevNode();
    var next = getNextNode();
    if (prev) {
        $('div.x-wiki-prev-next').append("<a href=\"" + prev.find("a").attr("href") + "\"><i class=\"uk-icon-chevron-left\"></i> 上一页</a>");
    }
    if (next) {
        $('div.x-wiki-prev-next').append("<a href=\"" + next.find("a").attr("href") + "\" class=\"uk-float-right\">下一页 <i class=\"uk-icon-chevron-right\"></i></a>");
    }
    $('div.x-wiki-prev-next').after('<hr>');
});

function getPrevNode() {
    var activeNode = $('#001431676242561226b32a9ec624505bb8f723d0027b3e7000');
    var prev = activeNode.prev('div');
    var lastChild;
    if (prev.get(0)) {
        lastChild = prev.find('div:last');
        if (lastChild.get(0)) {
            return lastChild;
        }
        return prev;
    }
    prev = activeNode.parent('div');
    if (prev.get(0)) {
        return prev;
    }
    return null;
}

function getNextNode() {
    var activeNode = $('#001431676242561226b32a9ec624505bb8f723d0027b3e7000');
    var next = activeNode.find('div:first');
    var node;
    if (next.get(0)) {
        return next;
    }
    next = activeNode.next('div');
    if (next.get(0)) {
        return next;
    }
    node = activeNode;
    for (;;) {
        node = node.parent('div');
        if (node.get(0)) {
            next = node.next('div');
            if (next.get(0)) {
                return next;
            }
        } else {
            break;
        }
    }
    return null;
}

function expandActiveNode() {
    var activeNode = $('#001431676242561226b32a9ec624505bb8f723d0027b3e7000');
    for (;;) {
        i = activeNode.find('i').get(0);
        if (i) {
            expandWikiNode(i);
        }
        activeNode = activeNode.parent();
        if (! activeNode.is('div')) {
            break;
        }
    }
}

function toggleWikiNode(icon) {
    var
        $i = $(icon),
        $div = $i.parent(),
        expand = $div.attr('expand');
    if (expand === 'true') {
        collapseWikiNode(icon);
    } else {
        expandWikiNode(icon);
    }
}

function collapseWikiNode(icon, rec) {
    var
        $i = $(icon),
        $div = $i.parent();
    $div.attr('expand', 'false');
    $i.removeClass('uk-icon-minus-square-o');
    $i.addClass('uk-icon-plus-square-o');
    $div.find('>div').hide();
    if (rec) {
        $div.find('>div>i').each(function () {
            collapseWikiNode(this, rec);
        });
    }
}

function expandWikiNode(icon, rec) {
    var
        $i = $(icon),
        $div = $i.parent();
    $div.attr('expand', 'true');
    $i.removeClass('uk-icon-plus-square-o');
    $i.addClass('uk-icon-minus-square-o');
    $div.find('>div').show();
    if (rec) {
        $div.find('>div>i').each(function () {
            expandWikiNode(this, rec);
        });
    }
}

</script>


<style>
.x-center {
    margin: 0;
}


.x-center {
    margin-left: 316px;
    padding-left: 15px;
}




</style>

<!-- BEGIN custom_header -->
<script src="https://tjs.sjs.sinajs.cn/open/api/js/wb.js" type="text/javascript" charset="utf-8"></script>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>

<script>
var CDN = 'https://cdn.liaoxuefeng.com/cdn';

// add table class:
$(function () {
    $('table').addClass('uk-table');
});

function shareToWeibo() {
    var url = 'http://service.weibo.com/share/share.php?type=button&ralateUid=1658384301&language=zh_cn&appkey=1391944217&searchPic=false&style=full';
    url = url + '&title=' + encodeURIComponent(document.title);
    url = url + '&url=' + encodeURIComponent(location.href);
    url = url + '&pic=' + encodeURIComponent($('meta[property="og:image"]').attr('content'));
    window.open(url, 'share_liaoxuefeng_com', 'top=200,left=400,width=600,height=380,directories=no,menubar=no,toolbar=no,resizable=no');
}

var SHARE_TO_WEIBO = '<p><a href="#0" onclick="shareToWeibo()" class="uk-button uk-button-danger"><i class="uk-icon-weibo"></i> 分享到微博</button></p>';
</script>

<script>
  // crypto:
  if (location.pathname.indexOf('/wiki/0015223693709562f80977e6c9549f0a1e17640a61433d6000') === 0) {
    $.ajax({ url: '/static/js/crypto.js?v1', dataType: 'script', cache: true });
  }
  // sql: import alasql
  if (location.pathname.indexOf('/wiki/001508284671805d39d23243d884b8b99f440bfae87b0f4000') === 0) {
    $.ajax({
      url: '//cdn.liaoxuefeng.com/static/js/alasql.js',
      dataType: 'script',
      cache: true,
      success: function () {
        console.log('alasql loaded.');
        alasql.options.joinstar = 'underscore';
        var
          i,
          classes_data = [['一班'], ['二班'], ['三班'], ['四班']],
          students_data = [[1, '小明', 'M', 90], [1, '小红', 'F', 95], [1, '小军', 'M', 88], [1, '小米', 'F', 73], [2, '小白', 'F', 81], [2, '小兵', 'M', 55], [2, '小林', 'M', 85], [3, '小新', 'F', 91], [3, '小王', 'M', 89], [3, '小丽', 'F', 88]];
        alasql('CREATE TABLE classes (id BIGINT NOT NULL AUTO_INCREMENT, name VARCHAR(10) NOT NULL, PRIMARY KEY (id))');
        alasql('CREATE TABLE students (id BIGINT NOT NULL AUTO_INCREMENT, class_id BIGINT NOT NULL, name VARCHAR(10) NOT NULL, gender CHAR(1) NOT NULL, score BIGINT NOT NULL, PRIMARY KEY (id))');
        for (i=0; i<classes_data.length; i++) {
          alasql('INSERT INTO classes (name) VALUES (?)', classes_data[i]);
        }
        for (i=0; i<students_data.length; i++) {
          alasql('INSERT INTO students (class_id, name, gender, score) VALUES (?, ?, ?, ?)', students_data[i]);
        }
      }
    });
  }
</script>

<script>
// git: add app link:
$(function () {
  if (location.pathname.indexOf('/wiki/0013739516305929606dd18361248578c67b8067c8c017b000')===0) {
    $('.x-wiki-info').parent().css('position', 'relative').append('<a href="/webpage/gitapp" target="_blank" style="display:block;width:135px;height:40px;position:absolute;right:10px;top:10px;"><img src="' + CDN + '/static/img/download-on-the-app-store.png" /></a>');
  }
});
</script>

<script>
// add new:
$(function () {
  var img_new = '<img style="position:absolute;right:-10px;top:3px;z-index:999" src="' + CDN + '/files/attachments/001477919415261ebc91072244149e0ab69f60ae2abe39f000/l">';
  $('#ul-navbar a[href="https://www.feiyangedu.com/category/CryptoCurrency"]').parent().append(img_new);
  $('#ul-navbar a[href="http://pro.kaikeba.com/course/java/?ss=topj"]').parent().append(img_new);
});
</script>

<script>
// python 2.7: add py3 link:
$(function () {
  if (location.pathname.indexOf('/wiki/001374738125095c955c1e6d8bb493182103fac9270762a000')===0) {
    $('#main .x-container').prepend('<div class="uk-alert uk-alert-danger">您目前正在学习的2.7版本的Python教程已过期，请立刻前往最新的Python 3 教程：<a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000" class="uk-button uk-button-success">我要学 Python 3</a></div>');
  }
});
</script>

<script>
// add share:
$(function () {
  if (location.pathname.indexOf('/wiki/')===0) {
    $('.x-wiki-content').find('a[href^=http]').attr('target', '_blank');
    if (!window.hurry) {
      $('.x-wiki-content').after('<h3>感觉本站内容不错，读后有收获？</h3><p><a target="_blank" href="/webpage/donate" class="uk-button uk-button-primary"><i class="uk-icon-cny"></i> 我要小额赞助，鼓励作者写出更好的教程</a></p><h3>还可以分享给朋友</h3>' + SHARE_TO_WEIBO);
    } else {
      $('.x-wiki-content').after('<h3>等待时间太久？</h3><p><a target="_blank" href="/webpage/donate" class="uk-button uk-button-primary"><i class="uk-icon-cny"></i> 我要催促作者更新教程</a></p><h3>还可以分享给朋友</h3>' + SHARE_TO_WEIBO);
    }
  }
});
</script>

<script>
// article: add share:
$(function () {
  if (location.pathname.indexOf('/article/')===0) {
    $('.x-article-content').find('a[href^=http]').attr('target', '_blank');
    $('.x-article-content').after('<h3>感觉本站内容不错，读后有收获？</h3><p><a target="_blank" href="/webpage/donate" class="uk-button uk-button-primary"><i class="uk-icon-cny"></i> 我要小额赞助，鼓励作者写出更好的文章</a></p><h3>还可以分享给朋友</h3>' + SHARE_TO_WEIBO);
  }
});
</script>

<script>
// footer:
$(function() {
  $('.x-footer-copyright').find('p').append('<br>本网站运行在<a target="_blank" href="https://promotion.aliyun.com/ntms/yunparter/invite.html?userCode=cz36baxa">阿里云</a>上并使用<a target="_blank" href="https://promotion.aliyun.com/ntms/yunparter/invite.html?userCode=cz36baxa">阿里云CDN</a>加速。');
  $('.x-footer').append('<hr><div style="text-align:center"><p>友情链接: <a href="http://www.shi-ci.com" target="_blank">中华诗词</a> - <a href="https://promotion.aliyun.com/ntms/act/ambassador/sharetouser.html?userCode=cz36baxa&amp;utm_source=cz36baxa" target="_blank">阿里云</a> - <a href="https://bbs.ksyun.com" target="_blank">金山云</a> - <a href="http://mitpress.mit.edu/sicp/full-text/book/book.html" target="_blank">SICP</a> - <a href="http://www.4clojure.com/" target="_blank">4clojure</a> - <a href="https://www.linuxprobe.com/" target="_blank">linuxprobe</a> </p></div>');
});
</script>

<script>
// tongji:
var _hmt = _hmt || [];
(function () {
  var hm = document.createElement("script");
  hm.src = "//hm.baidu.com/hm.js?2efddd14a5f2b304677462d06fb4f964";
  hm.async = "async";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();
</script>

<!-- END custom_header -->
</head>

<body>
    <div class="x-goto-top">
        <div class="x-arrow"></div>
        <div class="x-stick"></div>
    </div>

    <div id="header" class="uk-navbar uk-navbar-attached">
        <div class="uk-container x-container">
            <div class="uk-navbar uk-navbar-attached">
                
                <ul class="uk-navbar-nav uk-visible-small">
                    <li><a href="#0" onclick="UIkit.offcanvas.show('#x-offcanvas-left')">目录</a></li>
                </ul>
                
                <a href="/" class="uk-navbar-brand uk-visible-large">廖雪峰的官方网站</a>
                <a href="/" class="uk-navbar-brand uk-hidden-large"><i class="uk-icon-home"></i></a>
                <ul id="ul-navbar" class="uk-navbar-nav uk-hidden-small">
                    
                    <li><a href="/category/0013738748415562fee26e070fa4664ad926c8e30146c67000">编程</a></li>
                    
                    <li><a href="/category/0013738748248885ddf38d8cd1b4803aa74bcda32f853fd000">读书</a></li>
                    
                    <li><a href="https://www.feiyangedu.com/category/JavaSE">JavaSE课程</a></li>
                    
                    <li><a href="http://pro.kaikeba.com/course/java/?ss=topj">JavaEE课程</a></li>
                    
                    <li><a href="https://www.feiyangedu.com/category/CryptoCurrency">数字货币</a></li>
                    
                    <li><a href="/wiki/001434446689867b27157e896e74d51a89c25cc8b43bdb3000">JavaScript教程</a></li>
                    
                    <li><a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000">Python教程</a></li>
                    
                    <li><a href="/wiki/0013739516305929606dd18361248578c67b8067c8c017b000">Git教程</a></li>
                    
                    <li><a href="/discuss">问答</a></li>
                    
                    <li><a href="/webpage/donate">赞助</a></li>
                    
                    <li class="uk-hidden"><a href="/blog/1541767523551">Blog</a></li>
                </ul>
                
                <ul class="uk-navbar-nav uk-visible-small">
                    <li class="uk-parent" data-uk-dropdown>
                        <a href="#0"><i class="uk-icon-navicon"></i></a>
                        <div class="uk-dropdown uk-dropdown-navbar">
                            <ul class="uk-nav uk-nav-navbar">
                                
                                <li><a href="/category/0013738748415562fee26e070fa4664ad926c8e30146c67000">编程</a></li>
                                
                                <li><a href="/category/0013738748248885ddf38d8cd1b4803aa74bcda32f853fd000">读书</a></li>
                                
                                <li><a href="https://www.feiyangedu.com/category/JavaSE">JavaSE课程</a></li>
                                
                                <li><a href="http://pro.kaikeba.com/course/java/?ss=topj">JavaEE课程</a></li>
                                
                                <li><a href="https://www.feiyangedu.com/category/CryptoCurrency">数字货币</a></li>
                                
                                <li><a href="/wiki/001434446689867b27157e896e74d51a89c25cc8b43bdb3000">JavaScript教程</a></li>
                                
                                <li><a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000">Python教程</a></li>
                                
                                <li><a href="/wiki/0013739516305929606dd18361248578c67b8067c8c017b000">Git教程</a></li>
                                
                                <li><a href="/discuss">问答</a></li>
                                
                                <li><a href="/webpage/donate">赞助</a></li>
                                
                            </ul>
                        </div>
                    </li>
                </ul>
                

<!--
                <div class="uk-navbar-content x-hidden-tiny">
                    <form id="form-search" class="uk-form uk-margin-remove uk-display-inline-block">
                        <div class="uk-form-icon">
                            <i class="uk-icon-search"></i>
                            <input type="text" placeholder="Search">
                        </div>
                    </form>
                </div>
-->

                <div class="uk-navbar-flip">
                    <ul class="uk-navbar-nav">
                        <li class="uk-parent x-display-if-signin" data-uk-dropdown>
                            <a href="#0"><i class="uk-icon-user"></i><span class="x-hidden-tiny">&nbsp;</span><span class="x-user-name x-hidden-tiny"></span></a>
                            <div class="uk-dropdown uk-dropdown-navbar">
                                <ul class="uk-nav uk-nav-navbar">
                                    <li><a target="_blank" href="/me/profile"><i class="uk-icon-cog"></i> 个人资料</a></li>
                                    <li class="uk-nav-divider"></li>
                                
                                
                                    <li><a href="/auth/signout"><i class="uk-icon-power-off"></i> 登出</a></li>
                                </ul>
                            </div>
                        </li>
                        <li class="x-display-if-not-signin uk-hidden-small"><a href="javascript:showSignin()"><i class="uk-icon-sign-in"></i> 登录</a></li>
                        <li class="x-display-if-not-signin uk-visible-small"><a href="javascript:showSignin()"><i class="uk-icon-sign-in"></i></a></li>
                    </ul>
                </div>
            </div>
        </div>
    </div><!-- // header -->

    <div id="main">
        <div class="x-placeholder-50"><!-- placeholder --></div>
        <div class="x-placeholder"><!-- placeholder --></div>
        <div class="uk-container x-container">
            <div class="uk-grid">
                <div class="x-body-top uk-width-1-1">
                    <!-- body_top -->
                </div>
                <div class="uk-width-1-1">
                
                    <div class="x-sidebar-left">
                        <div class="x-sidebar-left-top">
                            <!-- sidebar_left_top -->
                        </div>
                        <div class="x-sidebar-left-content">
                            
    <div class="uk-float-right" style="padding-top:5px">
        <a href="#0" onclick="expandWikiNode($('#x-wiki-index>div>i').get(0), true)" style="margin-left:5px"><i class="uk-icon-expand"></i></a>
        <a href="#0" onclick="collapseWikiNode($('#x-wiki-index>div>i').get(0), true);expandActiveNode()" style="margin-left:5px"><i class="uk-icon-dot-circle-o"></i></a>
        <a href="#0" onclick="collapseWikiNode($('#x-wiki-index>div>i').get(0), true)" style="margin-left:5px"><i class="uk-icon-compress"></i></a>
    </div>
    <ul class="uk-nav uk-nav-side">
        <li class="uk-nav-header">目录</li>
    </ul>
    <ul id="x-wiki-index" class="uk-nav uk-nav-side" style="margin-right:-15px;">
        <div id="0014316089557264a6b348958f449949df42a6d3a2e542c000" depth="0" style="position:relative;margin-left:15px;">
            <i onclick="toggleWikiNode(this)" class="uk-icon-plus-square-o" style="position:absolute;margin-left:-1em;padding-top:8px;"></i>
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000" class="x-wiki-index-item">Python教程</a>
            
    
        <div id="001431608990315a01b575e2ab041168ff0df194698afac000" depth="1" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431608990315a01b575e2ab041168ff0df194698afac000" class="x-wiki-index-item">Python简介</a>
            
        </div>
    
        <div id="0014316090478912dab2a3a9e8f4ed49d28854b292f85bb000" depth="1" style="display:none;position:relative;margin-left:15px;">
            
            <i onclick="toggleWikiNode(this)" class="uk-icon-plus-square-o" style="position:absolute;margin-left:-1em;padding-top:8px;"></i>
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014316090478912dab2a3a9e8f4ed49d28854b292f85bb000" class="x-wiki-index-item">安装Python</a>
            
    
        <div id="00143161198846783e33de56d4041058c3dfc7e44ee1203000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/00143161198846783e33de56d4041058c3dfc7e44ee1203000" class="x-wiki-index-item">Python解释器</a>
            
        </div>
    

            
        </div>
    
        <div id="001431611988455689d4c116b2c4ed6aec000776c00ed52000" depth="1" style="display:none;position:relative;margin-left:15px;">
            
            <i onclick="toggleWikiNode(this)" class="uk-icon-plus-square-o" style="position:absolute;margin-left:-1em;padding-top:8px;"></i>
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431611988455689d4c116b2c4ed6aec000776c00ed52000" class="x-wiki-index-item">第一个Python程序</a>
            
    
        <div id="0014316399410395f704750ee9440228135925a6ca1dad8000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014316399410395f704750ee9440228135925a6ca1dad8000" class="x-wiki-index-item">使用文本编辑器</a>
            
        </div>
    
        <div id="001432523496782e0946b0f454549c0888d05959b99860f000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001432523496782e0946b0f454549c0888d05959b99860f000" class="x-wiki-index-item">Python代码运行助手</a>
            
        </div>
    
        <div id="001431643484137e38b44e5925440ec8b1e4c70f800b4e2000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431643484137e38b44e5925440ec8b1e4c70f800b4e2000" class="x-wiki-index-item">输入和输出</a>
            
        </div>
    

            
        </div>
    
        <div id="001431658427513eef3d9dd9f7c48599116735806328e81000" depth="1" style="display:none;position:relative;margin-left:15px;">
            
            <i onclick="toggleWikiNode(this)" class="uk-icon-plus-square-o" style="position:absolute;margin-left:-1em;padding-top:8px;"></i>
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431658427513eef3d9dd9f7c48599116735806328e81000" class="x-wiki-index-item">Python基础</a>
            
    
        <div id="001431658624177ea4f8fcb06bc4d0e8aab2fd7aa65dd95000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431658624177ea4f8fcb06bc4d0e8aab2fd7aa65dd95000" class="x-wiki-index-item">数据类型和变量</a>
            
        </div>
    
        <div id="001431664106267f12e9bef7ee14cf6a8776a479bdec9b9000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431664106267f12e9bef7ee14cf6a8776a479bdec9b9000" class="x-wiki-index-item">字符串和编码</a>
            
        </div>
    
        <div id="0014316724772904521142196b74a3f8abf93d8e97c6ee6000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014316724772904521142196b74a3f8abf93d8e97c6ee6000" class="x-wiki-index-item">使用list和tuple</a>
            
        </div>
    
        <div id="001431675624710bb20e9734ef343bbb4bd64bcd37d4b52000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431675624710bb20e9734ef343bbb4bd64bcd37d4b52000" class="x-wiki-index-item">条件判断</a>
            
        </div>
    
        <div id="001431676242561226b32a9ec624505bb8f723d0027b3e7000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431676242561226b32a9ec624505bb8f723d0027b3e7000" class="x-wiki-index-item">循环</a>
            
        </div>
    
        <div id="00143167793538255adf33371774853a0ef943280573f4d000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/00143167793538255adf33371774853a0ef943280573f4d000" class="x-wiki-index-item">使用dict和set</a>
            
        </div>
    

            
        </div>
    
        <div id="00143167832686474803d3d2b7d4d6499cfd093dc47efcd000" depth="1" style="display:none;position:relative;margin-left:15px;">
            
            <i onclick="toggleWikiNode(this)" class="uk-icon-plus-square-o" style="position:absolute;margin-left:-1em;padding-top:8px;"></i>
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/00143167832686474803d3d2b7d4d6499cfd093dc47efcd000" class="x-wiki-index-item">函数</a>
            
    
        <div id="0014316784721058975e02b46cc45cb836bb0827607738d000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014316784721058975e02b46cc45cb836bb0827607738d000" class="x-wiki-index-item">调用函数</a>
            
        </div>
    
        <div id="001431679203477b5b364aeba8c4e05a9bd4ec1b32911e2000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431679203477b5b364aeba8c4e05a9bd4ec1b32911e2000" class="x-wiki-index-item">定义函数</a>
            
        </div>
    
        <div id="001431752945034eb82ac80a3e64b9bb4929b16eeed1eb9000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431752945034eb82ac80a3e64b9bb4929b16eeed1eb9000" class="x-wiki-index-item">函数的参数</a>
            
        </div>
    
        <div id="001431756044276a15558a759ec43de8e30eb0ed169fb11000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431756044276a15558a759ec43de8e30eb0ed169fb11000" class="x-wiki-index-item">递归函数</a>
            
        </div>
    

            
        </div>
    
        <div id="0014317568446245b3e1c8837414168bcd2d485e553779e000" depth="1" style="display:none;position:relative;margin-left:15px;">
            
            <i onclick="toggleWikiNode(this)" class="uk-icon-plus-square-o" style="position:absolute;margin-left:-1em;padding-top:8px;"></i>
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014317568446245b3e1c8837414168bcd2d485e553779e000" class="x-wiki-index-item">高级特性</a>
            
    
        <div id="001431756919644a792ee4ead724ef7afab3f7f771b04f5000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431756919644a792ee4ead724ef7afab3f7f771b04f5000" class="x-wiki-index-item">切片</a>
            
        </div>
    
        <div id="0014317793224211f408912d9c04f2eac4d2af0d5d3d7b2000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014317793224211f408912d9c04f2eac4d2af0d5d3d7b2000" class="x-wiki-index-item">迭代</a>
            
        </div>
    
        <div id="001431779637539089fd627094a43a8a7c77e6102e3a811000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431779637539089fd627094a43a8a7c77e6102e3a811000" class="x-wiki-index-item">列表生成式</a>
            
        </div>
    
        <div id="0014317799226173f45ce40636141b6abc8424e12b5fb27000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014317799226173f45ce40636141b6abc8424e12b5fb27000" class="x-wiki-index-item">生成器</a>
            
        </div>
    
        <div id="00143178254193589df9c612d2449618ea460e7a672a366000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/00143178254193589df9c612d2449618ea460e7a672a366000" class="x-wiki-index-item">迭代器</a>
            
        </div>
    

            
        </div>
    
        <div id="0014317848428125ae6aa24068b4c50a7e71501ab275d52000" depth="1" style="display:none;position:relative;margin-left:15px;">
            
            <i onclick="toggleWikiNode(this)" class="uk-icon-plus-square-o" style="position:absolute;margin-left:-1em;padding-top:8px;"></i>
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014317848428125ae6aa24068b4c50a7e71501ab275d52000" class="x-wiki-index-item">函数式编程</a>
            
    
        <div id="0014317849054170d563b13f0fa4ce6ba1cd86e18103f28000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <i onclick="toggleWikiNode(this)" class="uk-icon-plus-square-o" style="position:absolute;margin-left:-1em;padding-top:8px;"></i>
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014317849054170d563b13f0fa4ce6ba1cd86e18103f28000" class="x-wiki-index-item">高阶函数</a>
            
    
        <div id="0014317852443934a86aa5bb5ea47fbbd5f35282b331335000" depth="3" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014317852443934a86aa5bb5ea47fbbd5f35282b331335000" class="x-wiki-index-item">map/reduce</a>
            
        </div>
    
        <div id="001431821084171d2e0f22e7cc24305ae03aa0214d0ef29000" depth="3" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431821084171d2e0f22e7cc24305ae03aa0214d0ef29000" class="x-wiki-index-item">filter</a>
            
        </div>
    
        <div id="0014318230588782cac105d0d8a40c6b450a232748dc854000" depth="3" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014318230588782cac105d0d8a40c6b450a232748dc854000" class="x-wiki-index-item">sorted</a>
            
        </div>
    

            
        </div>
    
        <div id="001431835236741e42daf5af6514f1a8917b8aaadff31bf000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431835236741e42daf5af6514f1a8917b8aaadff31bf000" class="x-wiki-index-item">返回函数</a>
            
        </div>
    
        <div id="001431843456408652233b88b424613aa8ec2fe032fd85a000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431843456408652233b88b424613aa8ec2fe032fd85a000" class="x-wiki-index-item">匿名函数</a>
            
        </div>
    
        <div id="0014318435599930270c0381a3b44db991cd6d858064ac0000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014318435599930270c0381a3b44db991cd6d858064ac0000" class="x-wiki-index-item">装饰器</a>
            
        </div>
    
        <div id="00143184474383175eeea92a8b0439fab7b392a8a32f8fa000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/00143184474383175eeea92a8b0439fab7b392a8a32f8fa000" class="x-wiki-index-item">偏函数</a>
            
        </div>
    

            
        </div>
    
        <div id="0014318447437605e90206e261744c08630a836851f5183000" depth="1" style="display:none;position:relative;margin-left:15px;">
            
            <i onclick="toggleWikiNode(this)" class="uk-icon-plus-square-o" style="position:absolute;margin-left:-1em;padding-top:8px;"></i>
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014318447437605e90206e261744c08630a836851f5183000" class="x-wiki-index-item">模块</a>
            
    
        <div id="001431845183474e20ee7e7828b47f7b7607f2dc1e90dbb000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431845183474e20ee7e7828b47f7b7607f2dc1e90dbb000" class="x-wiki-index-item">使用模块</a>
            
        </div>
    
        <div id="00143186362353505516c5d4e38456fb225c18cc5b54ffb000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/00143186362353505516c5d4e38456fb225c18cc5b54ffb000" class="x-wiki-index-item">安装第三方模块</a>
            
        </div>
    

            
        </div>
    
        <div id="0014318645694388f1f10473d7f416e9291616be8367ab5000" depth="1" style="display:none;position:relative;margin-left:15px;">
            
            <i onclick="toggleWikiNode(this)" class="uk-icon-plus-square-o" style="position:absolute;margin-left:-1em;padding-top:8px;"></i>
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014318645694388f1f10473d7f416e9291616be8367ab5000" class="x-wiki-index-item">面向对象编程</a>
            
    
        <div id="001431864715651c99511036d884cf1b399e65ae0d27f7e000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431864715651c99511036d884cf1b399e65ae0d27f7e000" class="x-wiki-index-item">类和实例</a>
            
        </div>
    
        <div id="0014318650247930b1b21d7d3c64fe38c4b5a80d4469ad7000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014318650247930b1b21d7d3c64fe38c4b5a80d4469ad7000" class="x-wiki-index-item">访问限制</a>
            
        </div>
    
        <div id="001431865288798deef438d865e4c2985acff7e9fad15e3000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431865288798deef438d865e4c2985acff7e9fad15e3000" class="x-wiki-index-item">继承和多态</a>
            
        </div>
    
        <div id="001431866385235335917b66049448ab14a499afd5b24db000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431866385235335917b66049448ab14a499afd5b24db000" class="x-wiki-index-item">获取对象信息</a>
            
        </div>
    
        <div id="0014319117128404c7dd0cf0e3c4d88acc8fe4d2c163625000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014319117128404c7dd0cf0e3c4d88acc8fe4d2c163625000" class="x-wiki-index-item">实例属性和类属性</a>
            
        </div>
    

            
        </div>
    
        <div id="00143186738532805c392f2cc09446caf3236c34e3f980f000" depth="1" style="display:none;position:relative;margin-left:15px;">
            
            <i onclick="toggleWikiNode(this)" class="uk-icon-plus-square-o" style="position:absolute;margin-left:-1em;padding-top:8px;"></i>
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/00143186738532805c392f2cc09446caf3236c34e3f980f000" class="x-wiki-index-item">面向对象高级编程</a>
            
    
        <div id="00143186739713011a09b63dcbd42cc87f907a778b3ac73000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/00143186739713011a09b63dcbd42cc87f907a778b3ac73000" class="x-wiki-index-item">使用__slots__</a>
            
        </div>
    
        <div id="00143186781871161bc8d6497004764b398401a401d4cce000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/00143186781871161bc8d6497004764b398401a401d4cce000" class="x-wiki-index-item">使用@property</a>
            
        </div>
    
        <div id="0014318680104044a55f4a9dbf8452caf71e8dc68b75a18000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014318680104044a55f4a9dbf8452caf71e8dc68b75a18000" class="x-wiki-index-item">多重继承</a>
            
        </div>
    
        <div id="0014319098638265527beb24f7840aa97de564ccc7f20f6000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014319098638265527beb24f7840aa97de564ccc7f20f6000" class="x-wiki-index-item">定制类</a>
            
        </div>
    
        <div id="00143191235886950998592cd3e426e91687cdae696e64b000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/00143191235886950998592cd3e426e91687cdae696e64b000" class="x-wiki-index-item">使用枚举类</a>
            
        </div>
    
        <div id="0014319106919344c4ef8b1e04c48778bb45796e0335839000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014319106919344c4ef8b1e04c48778bb45796e0335839000" class="x-wiki-index-item">使用元类</a>
            
        </div>
    

            
        </div>
    
        <div id="001431913726557e5e43e1ee8d54ee486bddc3f607afb75000" depth="1" style="display:none;position:relative;margin-left:15px;">
            
            <i onclick="toggleWikiNode(this)" class="uk-icon-plus-square-o" style="position:absolute;margin-left:-1em;padding-top:8px;"></i>
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431913726557e5e43e1ee8d54ee486bddc3f607afb75000" class="x-wiki-index-item">错误、调试和测试</a>
            
    
        <div id="00143191375461417a222c54b7e4d65b258f491c093a515000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/00143191375461417a222c54b7e4d65b258f491c093a515000" class="x-wiki-index-item">错误处理</a>
            
        </div>
    
        <div id="001431915578556ad30ab3933ae4e82a03ee2e9a4f70871000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431915578556ad30ab3933ae4e82a03ee2e9a4f70871000" class="x-wiki-index-item">调试</a>
            
        </div>
    
        <div id="00143191629979802b566644aa84656b50cd484ec4a7838000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/00143191629979802b566644aa84656b50cd484ec4a7838000" class="x-wiki-index-item">单元测试</a>
            
        </div>
    
        <div id="0014319170285543a4d04751f8846908770660de849f285000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014319170285543a4d04751f8846908770660de849f285000" class="x-wiki-index-item">文档测试</a>
            
        </div>
    

            
        </div>
    
        <div id="001431917590955542f9ac5f5c1479faf787ff2b028ab47000" depth="1" style="display:none;position:relative;margin-left:15px;">
            
            <i onclick="toggleWikiNode(this)" class="uk-icon-plus-square-o" style="position:absolute;margin-left:-1em;padding-top:8px;"></i>
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431917590955542f9ac5f5c1479faf787ff2b028ab47000" class="x-wiki-index-item">IO编程</a>
            
    
        <div id="001431917715991ef1ebc19d15a4afdace1169a464eecc2000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431917715991ef1ebc19d15a4afdace1169a464eecc2000" class="x-wiki-index-item">文件读写</a>
            
        </div>
    
        <div id="001431918785710e86a1a120ce04925bae155012c7fc71e000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431918785710e86a1a120ce04925bae155012c7fc71e000" class="x-wiki-index-item">StringIO和BytesIO</a>
            
        </div>
    
        <div id="001431925324119bac1bc7979664b4fa9843c0e5fcdcf1e000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431925324119bac1bc7979664b4fa9843c0e5fcdcf1e000" class="x-wiki-index-item">操作文件和目录</a>
            
        </div>
    
        <div id="00143192607210600a668b5112e4a979dd20e4661cc9c97000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/00143192607210600a668b5112e4a979dd20e4661cc9c97000" class="x-wiki-index-item">序列化</a>
            
        </div>
    

            
        </div>
    
        <div id="0014319272686365ec7ceaeca33428c914edf8f70cca383000" depth="1" style="display:none;position:relative;margin-left:15px;">
            
            <i onclick="toggleWikiNode(this)" class="uk-icon-plus-square-o" style="position:absolute;margin-left:-1em;padding-top:8px;"></i>
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014319272686365ec7ceaeca33428c914edf8f70cca383000" class="x-wiki-index-item">进程和线程</a>
            
    
        <div id="001431927781401bb47ccf187b24c3b955157bb12c5882d000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431927781401bb47ccf187b24c3b955157bb12c5882d000" class="x-wiki-index-item">多进程</a>
            
        </div>
    
        <div id="00143192823818768cd506abbc94eb5916192364506fa5d000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/00143192823818768cd506abbc94eb5916192364506fa5d000" class="x-wiki-index-item">多线程</a>
            
        </div>
    
        <div id="001431928972981094a382e5584413fa040b46d46cce48e000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431928972981094a382e5584413fa040b46d46cce48e000" class="x-wiki-index-item">ThreadLocal</a>
            
        </div>
    
        <div id="0014319292979766bd3285c9d6b4942a8ea9b4e9cfb48d8000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014319292979766bd3285c9d6b4942a8ea9b4e9cfb48d8000" class="x-wiki-index-item">进程 vs. 线程</a>
            
        </div>
    
        <div id="001431929340191970154d52b9d484b88a7b343708fcc60000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431929340191970154d52b9d484b88a7b343708fcc60000" class="x-wiki-index-item">分布式进程</a>
            
        </div>
    

            
        </div>
    
        <div id="00143193331387014ccd1040c814dee8b2164bb4f064cff000" depth="1" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/00143193331387014ccd1040c814dee8b2164bb4f064cff000" class="x-wiki-index-item">正则表达式</a>
            
        </div>
    
        <div id="0014319347182373b696e637cc04430b8ee2d548ca1b36d000" depth="1" style="display:none;position:relative;margin-left:15px;">
            
            <i onclick="toggleWikiNode(this)" class="uk-icon-plus-square-o" style="position:absolute;margin-left:-1em;padding-top:8px;"></i>
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014319347182373b696e637cc04430b8ee2d548ca1b36d000" class="x-wiki-index-item">常用内建模块</a>
            
    
        <div id="001431937554888869fb52b812243dda6103214cd61d0c2000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431937554888869fb52b812243dda6103214cd61d0c2000" class="x-wiki-index-item">datetime</a>
            
        </div>
    
        <div id="001431953239820157155d21c494e5786fce303f3018c86000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431953239820157155d21c494e5786fce303f3018c86000" class="x-wiki-index-item">collections</a>
            
        </div>
    
        <div id="001431954588961d6b6f51000ca4279a3415ce14ed9d709000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431954588961d6b6f51000ca4279a3415ce14ed9d709000" class="x-wiki-index-item">base64</a>
            
        </div>
    
        <div id="001431955007656a66f831e208e4c189b8a9e9f3f25ba53000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431955007656a66f831e208e4c189b8a9e9f3f25ba53000" class="x-wiki-index-item">struct</a>
            
        </div>
    
        <div id="0014319556588648dd1fb0047a34d0c945ee33e8f4c90cc000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014319556588648dd1fb0047a34d0c945ee33e8f4c90cc000" class="x-wiki-index-item">hashlib</a>
            
        </div>
    
        <div id="0015108777177966ef0f4f8510a41b3b8c48cdcf7047b2d000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0015108777177966ef0f4f8510a41b3b8c48cdcf7047b2d000" class="x-wiki-index-item">hmac</a>
            
        </div>
    
        <div id="00143200162233153835cfdd1a541a18ddc15059e3ddeec000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/00143200162233153835cfdd1a541a18ddc15059e3ddeec000" class="x-wiki-index-item">itertools</a>
            
        </div>
    
        <div id="001478651770626de401ff1c0d94f379774cabd842222ff000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001478651770626de401ff1c0d94f379774cabd842222ff000" class="x-wiki-index-item">contextlib</a>
            
        </div>
    
        <div id="001432688314740a0aed473a39f47b09c8c7274c9ab6aee000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001432688314740a0aed473a39f47b09c8c7274c9ab6aee000" class="x-wiki-index-item">urllib</a>
            
        </div>
    
        <div id="001432002075057b594f70ecb58445da6ef6071aca880af000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001432002075057b594f70ecb58445da6ef6071aca880af000" class="x-wiki-index-item">XML</a>
            
        </div>
    
        <div id="0014320023122880232500da9dc4a4486ad00426f081c15000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014320023122880232500da9dc4a4486ad00426f081c15000" class="x-wiki-index-item">HTMLParser</a>
            
        </div>
    

            
        </div>
    
        <div id="001432002680493d1babda364904ca0a6e28374498d59a7000" depth="1" style="display:none;position:relative;margin-left:15px;">
            
            <i onclick="toggleWikiNode(this)" class="uk-icon-plus-square-o" style="position:absolute;margin-left:-1em;padding-top:8px;"></i>
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001432002680493d1babda364904ca0a6e28374498d59a7000" class="x-wiki-index-item">常用第三方模块</a>
            
    
        <div id="0014320027235877860c87af5544f25a8deeb55141d60c5000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014320027235877860c87af5544f25a8deeb55141d60c5000" class="x-wiki-index-item">Pillow</a>
            
        </div>
    
        <div id="0015109021115795adfc5c8629f4f98985063b5a7e3ff87000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0015109021115795adfc5c8629f4f98985063b5a7e3ff87000" class="x-wiki-index-item">requests</a>
            
        </div>
    
        <div id="001510905171877ca6fdf08614e446e835ea5d9bce75cf5000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001510905171877ca6fdf08614e446e835ea5d9bce75cf5000" class="x-wiki-index-item">chardet</a>
            
        </div>
    
        <div id="001511052957192bb91a56a2339485c8a8c79812b400d49000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001511052957192bb91a56a2339485c8a8c79812b400d49000" class="x-wiki-index-item">psutil</a>
            
        </div>
    

            
        </div>
    
        <div id="001432712108300322c61f256c74803b43bfd65c6f8d0d0000" depth="1" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001432712108300322c61f256c74803b43bfd65c6f8d0d0000" class="x-wiki-index-item">virtualenv</a>
            
        </div>
    
        <div id="00143200341926302f99cf6f6414dca9dfaaf6e5a25a5b1000" depth="1" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/00143200341926302f99cf6f6414dca9dfaaf6e5a25a5b1000" class="x-wiki-index-item">图形界面</a>
            
        </div>
    
        <div id="0014320037274136d31bd9979d648cd822375394e29a871000" depth="1" style="display:none;position:relative;margin-left:15px;">
            
            <i onclick="toggleWikiNode(this)" class="uk-icon-plus-square-o" style="position:absolute;margin-left:-1em;padding-top:8px;"></i>
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014320037274136d31bd9979d648cd822375394e29a871000" class="x-wiki-index-item">网络编程</a>
            
    
        <div id="0014320037768360d53e4e935ca4a1f96eed1c896ad1217000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014320037768360d53e4e935ca4a1f96eed1c896ad1217000" class="x-wiki-index-item">TCP/IP简介</a>
            
        </div>
    
        <div id="001432004374523e495f640612f4b08975398796939ec3c000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001432004374523e495f640612f4b08975398796939ec3c000" class="x-wiki-index-item">TCP编程</a>
            
        </div>
    
        <div id="001432004977916a212e2168e21449981ad65cd16e71201000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001432004977916a212e2168e21449981ad65cd16e71201000" class="x-wiki-index-item">UDP编程</a>
            
        </div>
    

            
        </div>
    
        <div id="001432005156604f38836be1707453eb025ce8c3079978d000" depth="1" style="display:none;position:relative;margin-left:15px;">
            
            <i onclick="toggleWikiNode(this)" class="uk-icon-plus-square-o" style="position:absolute;margin-left:-1em;padding-top:8px;"></i>
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001432005156604f38836be1707453eb025ce8c3079978d000" class="x-wiki-index-item">电子邮件</a>
            
    
        <div id="001432005226355aadb8d4b2f3f42f6b1d6f2c5bd8d5263000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001432005226355aadb8d4b2f3f42f6b1d6f2c5bd8d5263000" class="x-wiki-index-item">SMTP发送邮件</a>
            
        </div>
    
        <div id="0014320098721191b70a2cf7b5441deb01595edd8147196000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014320098721191b70a2cf7b5441deb01595edd8147196000" class="x-wiki-index-item">POP3收取邮件</a>
            
        </div>
    

            
        </div>
    
        <div id="001432010325987131e75bf6b3543429a2975f88ce8ffa9000" depth="1" style="display:none;position:relative;margin-left:15px;">
            
            <i onclick="toggleWikiNode(this)" class="uk-icon-plus-square-o" style="position:absolute;margin-left:-1em;padding-top:8px;"></i>
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001432010325987131e75bf6b3543429a2975f88ce8ffa9000" class="x-wiki-index-item">访问数据库</a>
            
    
        <div id="001432010494717e1db78cd172e4d52b853e7fd38d6985c000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001432010494717e1db78cd172e4d52b853e7fd38d6985c000" class="x-wiki-index-item">使用SQLite</a>
            
        </div>
    
        <div id="0014320107391860b39da6901ed41a296e574ed37104752000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014320107391860b39da6901ed41a296e574ed37104752000" class="x-wiki-index-item">使用MySQL</a>
            
        </div>
    
        <div id="0014320114981139589ac5f02944601ae22834e9c521415000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014320114981139589ac5f02944601ae22834e9c521415000" class="x-wiki-index-item">使用SQLAlchemy</a>
            
        </div>
    

            
        </div>
    
        <div id="0014320118765877e93ecea4e6449acb157e9efae8b40b6000" depth="1" style="display:none;position:relative;margin-left:15px;">
            
            <i onclick="toggleWikiNode(this)" class="uk-icon-plus-square-o" style="position:absolute;margin-left:-1em;padding-top:8px;"></i>
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014320118765877e93ecea4e6449acb157e9efae8b40b6000" class="x-wiki-index-item">Web开发</a>
            
    
        <div id="001432011939547478fd5482deb47b08716557cc99764e0000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001432011939547478fd5482deb47b08716557cc99764e0000" class="x-wiki-index-item">HTTP协议简介</a>
            
        </div>
    
        <div id="0014320122322996f770fbf5da84ead84a1731e1dde129f000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014320122322996f770fbf5da84ead84a1731e1dde129f000" class="x-wiki-index-item">HTML简介</a>
            
        </div>
    
        <div id="001432012393132788f71e0edad4676a3f76ac7776f3a16000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001432012393132788f71e0edad4676a3f76ac7776f3a16000" class="x-wiki-index-item">WSGI接口</a>
            
        </div>
    
        <div id="001432012745805707cb9f00a484d968c72dbb7cfc90b91000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001432012745805707cb9f00a484d968c72dbb7cfc90b91000" class="x-wiki-index-item">使用Web框架</a>
            
        </div>
    
        <div id="0014320129740415df73bf8f81e478982bf4d5c8aa3817a000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014320129740415df73bf8f81e478982bf4d5c8aa3817a000" class="x-wiki-index-item">使用模板</a>
            
        </div>
    

            
        </div>
    
        <div id="00143208573480558080fa77514407cb23834c78c6c7309000" depth="1" style="display:none;position:relative;margin-left:15px;">
            
            <i onclick="toggleWikiNode(this)" class="uk-icon-plus-square-o" style="position:absolute;margin-left:-1em;padding-top:8px;"></i>
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/00143208573480558080fa77514407cb23834c78c6c7309000" class="x-wiki-index-item">异步IO</a>
            
    
        <div id="001432090171191d05dae6e129940518d1d6cf6eeaaa969000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001432090171191d05dae6e129940518d1d6cf6eeaaa969000" class="x-wiki-index-item">协程</a>
            
        </div>
    
        <div id="001432090954004980bd351f2cd4cc18c9e6c06d855c498000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001432090954004980bd351f2cd4cc18c9e6c06d855c498000" class="x-wiki-index-item">asyncio</a>
            
        </div>
    
        <div id="00144661533005329786387b5684be385062a121e834ac7000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/00144661533005329786387b5684be385062a121e834ac7000" class="x-wiki-index-item">async/await</a>
            
        </div>
    
        <div id="0014320981492785ba33cc96c524223b2ea4e444077708d000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014320981492785ba33cc96c524223b2ea4e444077708d000" class="x-wiki-index-item">aiohttp</a>
            
        </div>
    

            
        </div>
    
        <div id="001432170876125c96f6cc10717484baea0c6da9bee2be4000" depth="1" style="display:none;position:relative;margin-left:15px;">
            
            <i onclick="toggleWikiNode(this)" class="uk-icon-plus-square-o" style="position:absolute;margin-left:-1em;padding-top:8px;"></i>
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001432170876125c96f6cc10717484baea0c6da9bee2be4000" class="x-wiki-index-item">实战</a>
            
    
        <div id="001432170937506ecfb2f6adf8e4757939732f3e32b781c000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001432170937506ecfb2f6adf8e4757939732f3e32b781c000" class="x-wiki-index-item">Day 1 - 搭建开发环境</a>
            
        </div>
    
        <div id="00143217133614028a244ea855b40a586b551c616d3b2c9000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/00143217133614028a244ea855b40a586b551c616d3b2c9000" class="x-wiki-index-item">Day 2 - 编写Web App骨架</a>
            
        </div>
    
        <div id="0014323389656575142d0bcfeec434e9639a80d3684a7da000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014323389656575142d0bcfeec434e9639a80d3684a7da000" class="x-wiki-index-item">Day 3 - 编写ORM</a>
            
        </div>
    
        <div id="001432338991719a4c5c42ef08e4f44ad0f293ad728a27b000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001432338991719a4c5c42ef08e4f44ad0f293ad728a27b000" class="x-wiki-index-item">Day 4 - 编写Model</a>
            
        </div>
    
        <div id="001432339008728d0ddbe19ee594980be3f0644a9371894000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001432339008728d0ddbe19ee594980be3f0644a9371894000" class="x-wiki-index-item">Day 5 - 编写Web框架</a>
            
        </div>
    
        <div id="001432339034336cbf72acd43354d72831461e3871d9f2e000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001432339034336cbf72acd43354d72831461e3871d9f2e000" class="x-wiki-index-item">Day 6 - 编写配置文件</a>
            
        </div>
    
        <div id="001432339095180ce91c53cdab841bfa9c342a297b886fe000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001432339095180ce91c53cdab841bfa9c342a297b886fe000" class="x-wiki-index-item">Day 7 - 编写MVC</a>
            
        </div>
    
        <div id="001432339124159f00f6ab876c44349a3fd8eb26d0c291e000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001432339124159f00f6ab876c44349a3fd8eb26d0c291e000" class="x-wiki-index-item">Day 8 - 构建前端</a>
            
        </div>
    
        <div id="0014323391480651a75b5fda4cb4c789208191682fc2c70000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014323391480651a75b5fda4cb4c789208191682fc2c70000" class="x-wiki-index-item">Day 9 - 编写API</a>
            
        </div>
    
        <div id="001432339169382f45b9bd7b45d47ceb3e2b42846e0e991000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001432339169382f45b9bd7b45d47ceb3e2b42846e0e991000" class="x-wiki-index-item">Day 10 - 用户注册和登录</a>
            
        </div>
    
        <div id="00143233918656129f4ad3ac29e4f728dc72b5d2368215a000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/00143233918656129f4ad3ac29e4f728dc72b5d2368215a000" class="x-wiki-index-item">Day 11 - 编写日志创建页</a>
            
        </div>
    
        <div id="001432339210950e063b4795d574036bc5dcf0c2449bc52000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001432339210950e063b4795d574036bc5dcf0c2449bc52000" class="x-wiki-index-item">Day 12 - 编写日志列表页</a>
            
        </div>
    
        <div id="001432339228196a8eb6fb8832b48b5aa0d740346536ead000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001432339228196a8eb6fb8832b48b5aa0d740346536ead000" class="x-wiki-index-item">Day 13 - 提升开发效率</a>
            
        </div>
    
        <div id="001432339247097eea476bf61f8496092cc1b663eae1848000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001432339247097eea476bf61f8496092cc1b663eae1848000" class="x-wiki-index-item">Day 14 - 完成Web App</a>
            
        </div>
    
        <div id="0014323392805925d5b69ddad514511bf0391fe2a0df2b0000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014323392805925d5b69ddad514511bf0391fe2a0df2b0000" class="x-wiki-index-item">Day 15 - 部署Web App</a>
            
        </div>
    
        <div id="001432339330096121ae7e38be44570b7fbd0d8faae26f6000" depth="2" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001432339330096121ae7e38be44570b7fbd0d8faae26f6000" class="x-wiki-index-item">Day 16 - 编写移动App</a>
            
        </div>
    

            
        </div>
    
        <div id="00143278155868605a65e244e6642dfa533753e6338ab5b000" depth="1" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/00143278155868605a65e244e6642dfa533753e6338ab5b000" class="x-wiki-index-item">FAQ</a>
            
        </div>
    
        <div id="0014323396477522f8ff26917934f53b49559ab4dc5eab2000" depth="1" style="display:none;position:relative;margin-left:15px;">
            
            <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014323396477522f8ff26917934f53b49559ab4dc5eab2000" class="x-wiki-index-item">期末总结</a>
            
        </div>
    

        </div>
    </ul>
    <div class="x-placeholder"></div>

                        </div>
                        <div class="x-sidebar-left-bottom">
                            <h3>关于作者</h3>
<iframe width="100%" height="90" class="share_self"  frameborder="0" scrolling="no" src="http://widget.weibo.com/weiboshow/index.php?language=&width=0&height=550&fansRow=2&ptype=1&speed=0&skin=5&isTitle=0&noborder=0&isWeibo=0&isFans=0&uid=1658384301&verifier=078cedea&colors=0593d3,ffffff,666666,0593d3,0477ab&dpc=1"></iframe>

                        </div>
                        <div id="x-sponsor-b" class="uk-clearfix"><!-- sponsor B --></div>
                    </div>
                
                

                    <div class="x-center">
                        <div class="x-content-top">
                            <!-- content_top -->
                        </div>
                        <div class="x-content" style="width:100%">
                            
    <h4>循环</h4>
    <div class="x-wiki-info"><span>阅读: 568244</span> <a href="/manage/wiki/edit_wikipage?id=001431676242561226b32a9ec624505bb8f723d0027b3e7000" target="_blank" class="x-can-edit uk-text-danger">编辑</a></div>

    <hr>

    <div class="x-wiki-content x-main-content"><h3><a name="#-E5-BE-AA-E7-8E-AF"></a>循环</h3>
<p>要计算1+2+3，我们可以直接写表达式：</p>
<pre><code>&gt;&gt;&gt; 1 + 2 + 3
6
</code></pre><p>要计算1+2+3+...+10，勉强也能写出来。</p>
<p>但是，要计算1+2+3+...+10000，直接写表达式就不可能了。</p>
<p>为了让计算机能计算成千上万次的重复运算，我们就需要循环语句。</p>
<p>Python的循环有两种，一种是for...in循环，依次把list或tuple中的每个元素迭代出来，看例子：</p>
<pre><code>names = [&#39;Michael&#39;, &#39;Bob&#39;, &#39;Tracy&#39;]
for name in names:
    print(name)
</code></pre><p>执行这段代码，会依次打印<code>names</code>的每一个元素：</p>
<pre><code>Michael
Bob
Tracy
</code></pre><p>所以<code>for x in ...</code>循环就是把每个元素代入变量<code>x</code>，然后执行缩进块的语句。</p>
<p>再比如我们想计算1-10的整数之和，可以用一个<code>sum</code>变量做累加：</p>
<pre><code>sum = 0
for x in [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]:
    sum = sum + x
print(sum)
</code></pre><p>如果要计算1-100的整数之和，从1写到100有点困难，幸好Python提供一个<code>range()</code>函数，可以生成一个整数序列，再通过<code>list()</code>函数可以转换为list。比如<code>range(5)</code>生成的序列是从0开始小于5的整数：</p>
<pre><code>&gt;&gt;&gt; list(range(5))
[0, 1, 2, 3, 4]
</code></pre><p><code>range(101)</code>就可以生成0-100的整数序列，计算如下：</p>
<pre><code class="lang-x-python"># -*- coding: utf-8 -*-
----
sum = 0
for x in range(101):
    sum = sum + x
print(sum)
</code></pre>
<p>请自行运行上述代码，看看结果是不是当年高斯同学心算出的5050。</p>
<p>第二种循环是while循环，只要条件满足，就不断循环，条件不满足时退出循环。比如我们要计算100以内所有奇数之和，可以用while循环实现：</p>
<pre><code>sum = 0
n = 99
while n &gt; 0:
    sum = sum + n
    n = n - 2
print(sum)
</code></pre><p>在循环内部变量<code>n</code>不断自减，直到变为<code>-1</code>时，不再满足while条件，循环退出。</p>
<h3><a name="#-E7-BB-83-E4-B9-A0"></a>练习</h3>
<p>请利用循环依次对list中的每个名字打印出<code>Hello, xxx!</code>：</p>
<pre><code class="lang-x-python"># -*- coding: utf-8 -*-
----
L = [&#39;Bart&#39;, &#39;Lisa&#39;, &#39;Adam&#39;]
</code></pre>
<h3><a name="#break"></a>break</h3>
<p>在循环中，<code>break</code>语句可以提前退出循环。例如，本来要循环打印1～100的数字：</p>
<pre><code>n = 1
while n &lt;= 100:
    print(n)
    n = n + 1
print(&#39;END&#39;)
</code></pre><p>上面的代码可以打印出1~100。</p>
<p>如果要提前结束循环，可以用<code>break</code>语句：</p>
<pre><code>n = 1
while n &lt;= 100:
    if n &gt; 10: # 当n = 11时，条件满足，执行break语句
        break # break语句会结束当前循环
    print(n)
    n = n + 1
print(&#39;END&#39;)
</code></pre><p>执行上面的代码可以看到，打印出1~10后，紧接着打印<code>END</code>，程序结束。</p>
<p>可见<code>break</code>的作用是提前结束循环。</p>
<h3><a name="#continue"></a>continue</h3>
<p>在循环过程中，也可以通过<code>continue</code>语句，跳过当前的这次循环，直接开始下一次循环。</p>
<pre><code>n = 0
while n &lt; 10:
    n = n + 1
    print(n)
</code></pre><p>上面的程序可以打印出1～10。但是，如果我们想只打印奇数，可以用<code>continue</code>语句跳过某些循环：</p>
<pre><code>n = 0
while n &lt; 10:
    n = n + 1
    if n % 2 == 0: # 如果n是偶数，执行continue语句
        continue # continue语句会直接继续下一轮循环，后续的print()语句不会执行
    print(n)
</code></pre><p>执行上面的代码可以看到，打印的不再是1～10，而是1，3，5，7，9。</p>
<p>可见<code>continue</code>的作用是提前结束本轮循环，并直接开始下一轮循环。</p>
<h3><a name="#-E5-B0-8F-E7-BB-93"></a>小结</h3>
<p>循环是让计算机做重复任务的有效的方法。</p>
<p><code>break</code>语句可以在循环过程中直接退出循环，而<code>continue</code>语句可以提前结束本轮循环，并直接开始下一轮循环。这两个语句通常都<em>必须</em>配合<code>if</code>语句使用。</p>
<p><em>要特别注意</em>，不要滥用<code>break</code>和<code>continue</code>语句。<code>break</code>和<code>continue</code>会造成代码执行逻辑分叉过多，容易出错。大多数循环并不需要用到<code>break</code>和<code>continue</code>语句，上面的两个例子，都可以通过改写循环条件或者修改循环逻辑，去掉<code>break</code>和<code>continue</code>语句。</p>
<p>有些时候，如果代码写得有问题，会让程序陷入“死循环”，也就是永远循环下去。这时可以用<code>Ctrl+C</code>退出程序，或者强制结束Python进程。</p>
<p>请试写一个死循环程序。</p>
<h3><a name="#-E5-8F-82-E8-80-83-E6-BA-90-E7-A0-81"></a>参考源码</h3>
<p><a target="_blank" href="https://github.com/michaelliao/learn-python3/blob/master/samples/basic/do_for.py">do_for.py</a></p>
<p><a target="_blank" href="https://github.com/michaelliao/learn-python3/blob/master/samples/basic/do_while.py">do_while.py</a></p>
</div>

    <hr>

    <div class="x-wiki-prev-next uk-clearfix"></div>

    <div id="x-sponsor-a" class="uk-clearfix"><!-- sponsor A --></div>

    <div class="x-anchor x-comment-anchor"><a name="comments"></a></div>

    <h3>评论</h3>

    <ul id="x-comment-list" class="uk-comment-list">
    </ul>

    <h3>发表评论</h3>

    <div class="x-display-if-not-signin">
        <p><button type="button" class="uk-button" onclick="showSignin()"><i class="uk-icon-signin"></i> 登录后发表评论</button></p>
    </div>

    <div id="x-comment-area"></div>


                        </div>
                        <div class="x-content-bottom">
                            <!-- content_bottom -->
                        </div>
                    </div>
                </div>

                <div class="x-body-bottom uk-width-1-1">
                    <!-- body_bottom -->
                </div>
            </div>
        </div>
    </div>


    <div id="x-offcanvas-left" class="uk-offcanvas">
        <div class="uk-offcanvas-bar">
            <div class="uk-panel">
                
    <ul class="uk-nav uk-nav-side">
        <li class="uk-nav-header">目录</li>
    </ul>
    <ul class="uk-nav uk-nav-side">
        <li id="off-0014316089557264a6b348958f449949df42a6d3a2e542c000"><a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000">Python教程</a></li>
        
    
    <li id="off-001431608990315a01b575e2ab041168ff0df194698afac000" style="margin-left:1em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431608990315a01b575e2ab041168ff0df194698afac000">Python简介</a>
    </li>
    
    
    <li id="off-0014316090478912dab2a3a9e8f4ed49d28854b292f85bb000" style="margin-left:1em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014316090478912dab2a3a9e8f4ed49d28854b292f85bb000">安装Python</a>
    </li>
    
        
    
    <li id="off-00143161198846783e33de56d4041058c3dfc7e44ee1203000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/00143161198846783e33de56d4041058c3dfc7e44ee1203000">Python解释器</a>
    </li>
    
    

    
    
    <li id="off-001431611988455689d4c116b2c4ed6aec000776c00ed52000" style="margin-left:1em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431611988455689d4c116b2c4ed6aec000776c00ed52000">第一个Python程序</a>
    </li>
    
        
    
    <li id="off-0014316399410395f704750ee9440228135925a6ca1dad8000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014316399410395f704750ee9440228135925a6ca1dad8000">使用文本编辑器</a>
    </li>
    
    
    <li id="off-001432523496782e0946b0f454549c0888d05959b99860f000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001432523496782e0946b0f454549c0888d05959b99860f000">Python代码运行助手</a>
    </li>
    
    
    <li id="off-001431643484137e38b44e5925440ec8b1e4c70f800b4e2000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431643484137e38b44e5925440ec8b1e4c70f800b4e2000">输入和输出</a>
    </li>
    
    

    
    
    <li id="off-001431658427513eef3d9dd9f7c48599116735806328e81000" style="margin-left:1em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431658427513eef3d9dd9f7c48599116735806328e81000">Python基础</a>
    </li>
    
        
    
    <li id="off-001431658624177ea4f8fcb06bc4d0e8aab2fd7aa65dd95000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431658624177ea4f8fcb06bc4d0e8aab2fd7aa65dd95000">数据类型和变量</a>
    </li>
    
    
    <li id="off-001431664106267f12e9bef7ee14cf6a8776a479bdec9b9000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431664106267f12e9bef7ee14cf6a8776a479bdec9b9000">字符串和编码</a>
    </li>
    
    
    <li id="off-0014316724772904521142196b74a3f8abf93d8e97c6ee6000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014316724772904521142196b74a3f8abf93d8e97c6ee6000">使用list和tuple</a>
    </li>
    
    
    <li id="off-001431675624710bb20e9734ef343bbb4bd64bcd37d4b52000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431675624710bb20e9734ef343bbb4bd64bcd37d4b52000">条件判断</a>
    </li>
    
    
    <li id="off-001431676242561226b32a9ec624505bb8f723d0027b3e7000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431676242561226b32a9ec624505bb8f723d0027b3e7000">循环</a>
    </li>
    
    
    <li id="off-00143167793538255adf33371774853a0ef943280573f4d000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/00143167793538255adf33371774853a0ef943280573f4d000">使用dict和set</a>
    </li>
    
    

    
    
    <li id="off-00143167832686474803d3d2b7d4d6499cfd093dc47efcd000" style="margin-left:1em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/00143167832686474803d3d2b7d4d6499cfd093dc47efcd000">函数</a>
    </li>
    
        
    
    <li id="off-0014316784721058975e02b46cc45cb836bb0827607738d000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014316784721058975e02b46cc45cb836bb0827607738d000">调用函数</a>
    </li>
    
    
    <li id="off-001431679203477b5b364aeba8c4e05a9bd4ec1b32911e2000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431679203477b5b364aeba8c4e05a9bd4ec1b32911e2000">定义函数</a>
    </li>
    
    
    <li id="off-001431752945034eb82ac80a3e64b9bb4929b16eeed1eb9000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431752945034eb82ac80a3e64b9bb4929b16eeed1eb9000">函数的参数</a>
    </li>
    
    
    <li id="off-001431756044276a15558a759ec43de8e30eb0ed169fb11000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431756044276a15558a759ec43de8e30eb0ed169fb11000">递归函数</a>
    </li>
    
    

    
    
    <li id="off-0014317568446245b3e1c8837414168bcd2d485e553779e000" style="margin-left:1em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014317568446245b3e1c8837414168bcd2d485e553779e000">高级特性</a>
    </li>
    
        
    
    <li id="off-001431756919644a792ee4ead724ef7afab3f7f771b04f5000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431756919644a792ee4ead724ef7afab3f7f771b04f5000">切片</a>
    </li>
    
    
    <li id="off-0014317793224211f408912d9c04f2eac4d2af0d5d3d7b2000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014317793224211f408912d9c04f2eac4d2af0d5d3d7b2000">迭代</a>
    </li>
    
    
    <li id="off-001431779637539089fd627094a43a8a7c77e6102e3a811000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431779637539089fd627094a43a8a7c77e6102e3a811000">列表生成式</a>
    </li>
    
    
    <li id="off-0014317799226173f45ce40636141b6abc8424e12b5fb27000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014317799226173f45ce40636141b6abc8424e12b5fb27000">生成器</a>
    </li>
    
    
    <li id="off-00143178254193589df9c612d2449618ea460e7a672a366000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/00143178254193589df9c612d2449618ea460e7a672a366000">迭代器</a>
    </li>
    
    

    
    
    <li id="off-0014317848428125ae6aa24068b4c50a7e71501ab275d52000" style="margin-left:1em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014317848428125ae6aa24068b4c50a7e71501ab275d52000">函数式编程</a>
    </li>
    
        
    
    <li id="off-0014317849054170d563b13f0fa4ce6ba1cd86e18103f28000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014317849054170d563b13f0fa4ce6ba1cd86e18103f28000">高阶函数</a>
    </li>
    
        
    
    <li id="off-0014317852443934a86aa5bb5ea47fbbd5f35282b331335000" style="margin-left:3em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014317852443934a86aa5bb5ea47fbbd5f35282b331335000">map/reduce</a>
    </li>
    
    
    <li id="off-001431821084171d2e0f22e7cc24305ae03aa0214d0ef29000" style="margin-left:3em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431821084171d2e0f22e7cc24305ae03aa0214d0ef29000">filter</a>
    </li>
    
    
    <li id="off-0014318230588782cac105d0d8a40c6b450a232748dc854000" style="margin-left:3em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014318230588782cac105d0d8a40c6b450a232748dc854000">sorted</a>
    </li>
    
    

    
    
    <li id="off-001431835236741e42daf5af6514f1a8917b8aaadff31bf000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431835236741e42daf5af6514f1a8917b8aaadff31bf000">返回函数</a>
    </li>
    
    
    <li id="off-001431843456408652233b88b424613aa8ec2fe032fd85a000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431843456408652233b88b424613aa8ec2fe032fd85a000">匿名函数</a>
    </li>
    
    
    <li id="off-0014318435599930270c0381a3b44db991cd6d858064ac0000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014318435599930270c0381a3b44db991cd6d858064ac0000">装饰器</a>
    </li>
    
    
    <li id="off-00143184474383175eeea92a8b0439fab7b392a8a32f8fa000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/00143184474383175eeea92a8b0439fab7b392a8a32f8fa000">偏函数</a>
    </li>
    
    

    
    
    <li id="off-0014318447437605e90206e261744c08630a836851f5183000" style="margin-left:1em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014318447437605e90206e261744c08630a836851f5183000">模块</a>
    </li>
    
        
    
    <li id="off-001431845183474e20ee7e7828b47f7b7607f2dc1e90dbb000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431845183474e20ee7e7828b47f7b7607f2dc1e90dbb000">使用模块</a>
    </li>
    
    
    <li id="off-00143186362353505516c5d4e38456fb225c18cc5b54ffb000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/00143186362353505516c5d4e38456fb225c18cc5b54ffb000">安装第三方模块</a>
    </li>
    
    

    
    
    <li id="off-0014318645694388f1f10473d7f416e9291616be8367ab5000" style="margin-left:1em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014318645694388f1f10473d7f416e9291616be8367ab5000">面向对象编程</a>
    </li>
    
        
    
    <li id="off-001431864715651c99511036d884cf1b399e65ae0d27f7e000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431864715651c99511036d884cf1b399e65ae0d27f7e000">类和实例</a>
    </li>
    
    
    <li id="off-0014318650247930b1b21d7d3c64fe38c4b5a80d4469ad7000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014318650247930b1b21d7d3c64fe38c4b5a80d4469ad7000">访问限制</a>
    </li>
    
    
    <li id="off-001431865288798deef438d865e4c2985acff7e9fad15e3000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431865288798deef438d865e4c2985acff7e9fad15e3000">继承和多态</a>
    </li>
    
    
    <li id="off-001431866385235335917b66049448ab14a499afd5b24db000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431866385235335917b66049448ab14a499afd5b24db000">获取对象信息</a>
    </li>
    
    
    <li id="off-0014319117128404c7dd0cf0e3c4d88acc8fe4d2c163625000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014319117128404c7dd0cf0e3c4d88acc8fe4d2c163625000">实例属性和类属性</a>
    </li>
    
    

    
    
    <li id="off-00143186738532805c392f2cc09446caf3236c34e3f980f000" style="margin-left:1em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/00143186738532805c392f2cc09446caf3236c34e3f980f000">面向对象高级编程</a>
    </li>
    
        
    
    <li id="off-00143186739713011a09b63dcbd42cc87f907a778b3ac73000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/00143186739713011a09b63dcbd42cc87f907a778b3ac73000">使用__slots__</a>
    </li>
    
    
    <li id="off-00143186781871161bc8d6497004764b398401a401d4cce000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/00143186781871161bc8d6497004764b398401a401d4cce000">使用@property</a>
    </li>
    
    
    <li id="off-0014318680104044a55f4a9dbf8452caf71e8dc68b75a18000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014318680104044a55f4a9dbf8452caf71e8dc68b75a18000">多重继承</a>
    </li>
    
    
    <li id="off-0014319098638265527beb24f7840aa97de564ccc7f20f6000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014319098638265527beb24f7840aa97de564ccc7f20f6000">定制类</a>
    </li>
    
    
    <li id="off-00143191235886950998592cd3e426e91687cdae696e64b000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/00143191235886950998592cd3e426e91687cdae696e64b000">使用枚举类</a>
    </li>
    
    
    <li id="off-0014319106919344c4ef8b1e04c48778bb45796e0335839000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014319106919344c4ef8b1e04c48778bb45796e0335839000">使用元类</a>
    </li>
    
    

    
    
    <li id="off-001431913726557e5e43e1ee8d54ee486bddc3f607afb75000" style="margin-left:1em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431913726557e5e43e1ee8d54ee486bddc3f607afb75000">错误、调试和测试</a>
    </li>
    
        
    
    <li id="off-00143191375461417a222c54b7e4d65b258f491c093a515000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/00143191375461417a222c54b7e4d65b258f491c093a515000">错误处理</a>
    </li>
    
    
    <li id="off-001431915578556ad30ab3933ae4e82a03ee2e9a4f70871000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431915578556ad30ab3933ae4e82a03ee2e9a4f70871000">调试</a>
    </li>
    
    
    <li id="off-00143191629979802b566644aa84656b50cd484ec4a7838000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/00143191629979802b566644aa84656b50cd484ec4a7838000">单元测试</a>
    </li>
    
    
    <li id="off-0014319170285543a4d04751f8846908770660de849f285000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014319170285543a4d04751f8846908770660de849f285000">文档测试</a>
    </li>
    
    

    
    
    <li id="off-001431917590955542f9ac5f5c1479faf787ff2b028ab47000" style="margin-left:1em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431917590955542f9ac5f5c1479faf787ff2b028ab47000">IO编程</a>
    </li>
    
        
    
    <li id="off-001431917715991ef1ebc19d15a4afdace1169a464eecc2000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431917715991ef1ebc19d15a4afdace1169a464eecc2000">文件读写</a>
    </li>
    
    
    <li id="off-001431918785710e86a1a120ce04925bae155012c7fc71e000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431918785710e86a1a120ce04925bae155012c7fc71e000">StringIO和BytesIO</a>
    </li>
    
    
    <li id="off-001431925324119bac1bc7979664b4fa9843c0e5fcdcf1e000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431925324119bac1bc7979664b4fa9843c0e5fcdcf1e000">操作文件和目录</a>
    </li>
    
    
    <li id="off-00143192607210600a668b5112e4a979dd20e4661cc9c97000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/00143192607210600a668b5112e4a979dd20e4661cc9c97000">序列化</a>
    </li>
    
    

    
    
    <li id="off-0014319272686365ec7ceaeca33428c914edf8f70cca383000" style="margin-left:1em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014319272686365ec7ceaeca33428c914edf8f70cca383000">进程和线程</a>
    </li>
    
        
    
    <li id="off-001431927781401bb47ccf187b24c3b955157bb12c5882d000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431927781401bb47ccf187b24c3b955157bb12c5882d000">多进程</a>
    </li>
    
    
    <li id="off-00143192823818768cd506abbc94eb5916192364506fa5d000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/00143192823818768cd506abbc94eb5916192364506fa5d000">多线程</a>
    </li>
    
    
    <li id="off-001431928972981094a382e5584413fa040b46d46cce48e000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431928972981094a382e5584413fa040b46d46cce48e000">ThreadLocal</a>
    </li>
    
    
    <li id="off-0014319292979766bd3285c9d6b4942a8ea9b4e9cfb48d8000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014319292979766bd3285c9d6b4942a8ea9b4e9cfb48d8000">进程 vs. 线程</a>
    </li>
    
    
    <li id="off-001431929340191970154d52b9d484b88a7b343708fcc60000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431929340191970154d52b9d484b88a7b343708fcc60000">分布式进程</a>
    </li>
    
    

    
    
    <li id="off-00143193331387014ccd1040c814dee8b2164bb4f064cff000" style="margin-left:1em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/00143193331387014ccd1040c814dee8b2164bb4f064cff000">正则表达式</a>
    </li>
    
    
    <li id="off-0014319347182373b696e637cc04430b8ee2d548ca1b36d000" style="margin-left:1em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014319347182373b696e637cc04430b8ee2d548ca1b36d000">常用内建模块</a>
    </li>
    
        
    
    <li id="off-001431937554888869fb52b812243dda6103214cd61d0c2000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431937554888869fb52b812243dda6103214cd61d0c2000">datetime</a>
    </li>
    
    
    <li id="off-001431953239820157155d21c494e5786fce303f3018c86000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431953239820157155d21c494e5786fce303f3018c86000">collections</a>
    </li>
    
    
    <li id="off-001431954588961d6b6f51000ca4279a3415ce14ed9d709000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431954588961d6b6f51000ca4279a3415ce14ed9d709000">base64</a>
    </li>
    
    
    <li id="off-001431955007656a66f831e208e4c189b8a9e9f3f25ba53000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431955007656a66f831e208e4c189b8a9e9f3f25ba53000">struct</a>
    </li>
    
    
    <li id="off-0014319556588648dd1fb0047a34d0c945ee33e8f4c90cc000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014319556588648dd1fb0047a34d0c945ee33e8f4c90cc000">hashlib</a>
    </li>
    
    
    <li id="off-0015108777177966ef0f4f8510a41b3b8c48cdcf7047b2d000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0015108777177966ef0f4f8510a41b3b8c48cdcf7047b2d000">hmac</a>
    </li>
    
    
    <li id="off-00143200162233153835cfdd1a541a18ddc15059e3ddeec000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/00143200162233153835cfdd1a541a18ddc15059e3ddeec000">itertools</a>
    </li>
    
    
    <li id="off-001478651770626de401ff1c0d94f379774cabd842222ff000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001478651770626de401ff1c0d94f379774cabd842222ff000">contextlib</a>
    </li>
    
    
    <li id="off-001432688314740a0aed473a39f47b09c8c7274c9ab6aee000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001432688314740a0aed473a39f47b09c8c7274c9ab6aee000">urllib</a>
    </li>
    
    
    <li id="off-001432002075057b594f70ecb58445da6ef6071aca880af000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001432002075057b594f70ecb58445da6ef6071aca880af000">XML</a>
    </li>
    
    
    <li id="off-0014320023122880232500da9dc4a4486ad00426f081c15000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014320023122880232500da9dc4a4486ad00426f081c15000">HTMLParser</a>
    </li>
    
    

    
    
    <li id="off-001432002680493d1babda364904ca0a6e28374498d59a7000" style="margin-left:1em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001432002680493d1babda364904ca0a6e28374498d59a7000">常用第三方模块</a>
    </li>
    
        
    
    <li id="off-0014320027235877860c87af5544f25a8deeb55141d60c5000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014320027235877860c87af5544f25a8deeb55141d60c5000">Pillow</a>
    </li>
    
    
    <li id="off-0015109021115795adfc5c8629f4f98985063b5a7e3ff87000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0015109021115795adfc5c8629f4f98985063b5a7e3ff87000">requests</a>
    </li>
    
    
    <li id="off-001510905171877ca6fdf08614e446e835ea5d9bce75cf5000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001510905171877ca6fdf08614e446e835ea5d9bce75cf5000">chardet</a>
    </li>
    
    
    <li id="off-001511052957192bb91a56a2339485c8a8c79812b400d49000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001511052957192bb91a56a2339485c8a8c79812b400d49000">psutil</a>
    </li>
    
    

    
    
    <li id="off-001432712108300322c61f256c74803b43bfd65c6f8d0d0000" style="margin-left:1em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001432712108300322c61f256c74803b43bfd65c6f8d0d0000">virtualenv</a>
    </li>
    
    
    <li id="off-00143200341926302f99cf6f6414dca9dfaaf6e5a25a5b1000" style="margin-left:1em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/00143200341926302f99cf6f6414dca9dfaaf6e5a25a5b1000">图形界面</a>
    </li>
    
    
    <li id="off-0014320037274136d31bd9979d648cd822375394e29a871000" style="margin-left:1em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014320037274136d31bd9979d648cd822375394e29a871000">网络编程</a>
    </li>
    
        
    
    <li id="off-0014320037768360d53e4e935ca4a1f96eed1c896ad1217000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014320037768360d53e4e935ca4a1f96eed1c896ad1217000">TCP/IP简介</a>
    </li>
    
    
    <li id="off-001432004374523e495f640612f4b08975398796939ec3c000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001432004374523e495f640612f4b08975398796939ec3c000">TCP编程</a>
    </li>
    
    
    <li id="off-001432004977916a212e2168e21449981ad65cd16e71201000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001432004977916a212e2168e21449981ad65cd16e71201000">UDP编程</a>
    </li>
    
    

    
    
    <li id="off-001432005156604f38836be1707453eb025ce8c3079978d000" style="margin-left:1em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001432005156604f38836be1707453eb025ce8c3079978d000">电子邮件</a>
    </li>
    
        
    
    <li id="off-001432005226355aadb8d4b2f3f42f6b1d6f2c5bd8d5263000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001432005226355aadb8d4b2f3f42f6b1d6f2c5bd8d5263000">SMTP发送邮件</a>
    </li>
    
    
    <li id="off-0014320098721191b70a2cf7b5441deb01595edd8147196000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014320098721191b70a2cf7b5441deb01595edd8147196000">POP3收取邮件</a>
    </li>
    
    

    
    
    <li id="off-001432010325987131e75bf6b3543429a2975f88ce8ffa9000" style="margin-left:1em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001432010325987131e75bf6b3543429a2975f88ce8ffa9000">访问数据库</a>
    </li>
    
        
    
    <li id="off-001432010494717e1db78cd172e4d52b853e7fd38d6985c000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001432010494717e1db78cd172e4d52b853e7fd38d6985c000">使用SQLite</a>
    </li>
    
    
    <li id="off-0014320107391860b39da6901ed41a296e574ed37104752000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014320107391860b39da6901ed41a296e574ed37104752000">使用MySQL</a>
    </li>
    
    
    <li id="off-0014320114981139589ac5f02944601ae22834e9c521415000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014320114981139589ac5f02944601ae22834e9c521415000">使用SQLAlchemy</a>
    </li>
    
    

    
    
    <li id="off-0014320118765877e93ecea4e6449acb157e9efae8b40b6000" style="margin-left:1em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014320118765877e93ecea4e6449acb157e9efae8b40b6000">Web开发</a>
    </li>
    
        
    
    <li id="off-001432011939547478fd5482deb47b08716557cc99764e0000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001432011939547478fd5482deb47b08716557cc99764e0000">HTTP协议简介</a>
    </li>
    
    
    <li id="off-0014320122322996f770fbf5da84ead84a1731e1dde129f000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014320122322996f770fbf5da84ead84a1731e1dde129f000">HTML简介</a>
    </li>
    
    
    <li id="off-001432012393132788f71e0edad4676a3f76ac7776f3a16000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001432012393132788f71e0edad4676a3f76ac7776f3a16000">WSGI接口</a>
    </li>
    
    
    <li id="off-001432012745805707cb9f00a484d968c72dbb7cfc90b91000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001432012745805707cb9f00a484d968c72dbb7cfc90b91000">使用Web框架</a>
    </li>
    
    
    <li id="off-0014320129740415df73bf8f81e478982bf4d5c8aa3817a000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014320129740415df73bf8f81e478982bf4d5c8aa3817a000">使用模板</a>
    </li>
    
    

    
    
    <li id="off-00143208573480558080fa77514407cb23834c78c6c7309000" style="margin-left:1em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/00143208573480558080fa77514407cb23834c78c6c7309000">异步IO</a>
    </li>
    
        
    
    <li id="off-001432090171191d05dae6e129940518d1d6cf6eeaaa969000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001432090171191d05dae6e129940518d1d6cf6eeaaa969000">协程</a>
    </li>
    
    
    <li id="off-001432090954004980bd351f2cd4cc18c9e6c06d855c498000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001432090954004980bd351f2cd4cc18c9e6c06d855c498000">asyncio</a>
    </li>
    
    
    <li id="off-00144661533005329786387b5684be385062a121e834ac7000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/00144661533005329786387b5684be385062a121e834ac7000">async/await</a>
    </li>
    
    
    <li id="off-0014320981492785ba33cc96c524223b2ea4e444077708d000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014320981492785ba33cc96c524223b2ea4e444077708d000">aiohttp</a>
    </li>
    
    

    
    
    <li id="off-001432170876125c96f6cc10717484baea0c6da9bee2be4000" style="margin-left:1em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001432170876125c96f6cc10717484baea0c6da9bee2be4000">实战</a>
    </li>
    
        
    
    <li id="off-001432170937506ecfb2f6adf8e4757939732f3e32b781c000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001432170937506ecfb2f6adf8e4757939732f3e32b781c000">Day 1 - 搭建开发环境</a>
    </li>
    
    
    <li id="off-00143217133614028a244ea855b40a586b551c616d3b2c9000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/00143217133614028a244ea855b40a586b551c616d3b2c9000">Day 2 - 编写Web App骨架</a>
    </li>
    
    
    <li id="off-0014323389656575142d0bcfeec434e9639a80d3684a7da000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014323389656575142d0bcfeec434e9639a80d3684a7da000">Day 3 - 编写ORM</a>
    </li>
    
    
    <li id="off-001432338991719a4c5c42ef08e4f44ad0f293ad728a27b000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001432338991719a4c5c42ef08e4f44ad0f293ad728a27b000">Day 4 - 编写Model</a>
    </li>
    
    
    <li id="off-001432339008728d0ddbe19ee594980be3f0644a9371894000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001432339008728d0ddbe19ee594980be3f0644a9371894000">Day 5 - 编写Web框架</a>
    </li>
    
    
    <li id="off-001432339034336cbf72acd43354d72831461e3871d9f2e000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001432339034336cbf72acd43354d72831461e3871d9f2e000">Day 6 - 编写配置文件</a>
    </li>
    
    
    <li id="off-001432339095180ce91c53cdab841bfa9c342a297b886fe000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001432339095180ce91c53cdab841bfa9c342a297b886fe000">Day 7 - 编写MVC</a>
    </li>
    
    
    <li id="off-001432339124159f00f6ab876c44349a3fd8eb26d0c291e000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001432339124159f00f6ab876c44349a3fd8eb26d0c291e000">Day 8 - 构建前端</a>
    </li>
    
    
    <li id="off-0014323391480651a75b5fda4cb4c789208191682fc2c70000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014323391480651a75b5fda4cb4c789208191682fc2c70000">Day 9 - 编写API</a>
    </li>
    
    
    <li id="off-001432339169382f45b9bd7b45d47ceb3e2b42846e0e991000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001432339169382f45b9bd7b45d47ceb3e2b42846e0e991000">Day 10 - 用户注册和登录</a>
    </li>
    
    
    <li id="off-00143233918656129f4ad3ac29e4f728dc72b5d2368215a000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/00143233918656129f4ad3ac29e4f728dc72b5d2368215a000">Day 11 - 编写日志创建页</a>
    </li>
    
    
    <li id="off-001432339210950e063b4795d574036bc5dcf0c2449bc52000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001432339210950e063b4795d574036bc5dcf0c2449bc52000">Day 12 - 编写日志列表页</a>
    </li>
    
    
    <li id="off-001432339228196a8eb6fb8832b48b5aa0d740346536ead000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001432339228196a8eb6fb8832b48b5aa0d740346536ead000">Day 13 - 提升开发效率</a>
    </li>
    
    
    <li id="off-001432339247097eea476bf61f8496092cc1b663eae1848000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001432339247097eea476bf61f8496092cc1b663eae1848000">Day 14 - 完成Web App</a>
    </li>
    
    
    <li id="off-0014323392805925d5b69ddad514511bf0391fe2a0df2b0000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014323392805925d5b69ddad514511bf0391fe2a0df2b0000">Day 15 - 部署Web App</a>
    </li>
    
    
    <li id="off-001432339330096121ae7e38be44570b7fbd0d8faae26f6000" style="margin-left:2em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001432339330096121ae7e38be44570b7fbd0d8faae26f6000">Day 16 - 编写移动App</a>
    </li>
    
    

    
    
    <li id="off-00143278155868605a65e244e6642dfa533753e6338ab5b000" style="margin-left:1em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/00143278155868605a65e244e6642dfa533753e6338ab5b000">FAQ</a>
    </li>
    
    
    <li id="off-0014323396477522f8ff26917934f53b49559ab4dc5eab2000" style="margin-left:1em;">
        <a href="/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014323396477522f8ff26917934f53b49559ab4dc5eab2000">期末总结</a>
    </li>
    
    

    </ul>
    <div class="x-placeholder"></div>

            </div>
        </div>
    </div>


    <div id="footer">
        <div class="x-footer uk-container x-container">
            <hr>
            <div class="uk-grid">
                <div class="x-footer-copyright uk-width-small-1-2 uk-width-medium-1-3">
                    <p>
                        <a href="/">廖雪峰的官方网站</a>&copy;2017 vbbe574c
                        <br>
                        Powered by <a href="https://github.com/michaelliao/itranswarp.js" target="_blank">iTranswarp.js</a>
                    </p>
                </div>
                <div class="uk-width-small-1-2 uk-width-medium-1-3 x-hidden-tiny">
                    <a href="/feed" target="_blank" class="uk-icon-button uk-icon-rss" data-uk-tooltip title="Subscribe the RSS"></a>
                    <a href="https://github.com/michaelliao/itranswarp.js" target="_blank" class="uk-icon-button uk-icon-github" data-uk-tooltip title="View source code on GitHub"></a>
                    <a href="https://twitter.com/liaoxuefeng" target="_blank" class="uk-icon-button uk-icon-twitter" data-uk-tooltip title="Follow author on Twitter"></a>
                    <a href="https://www.weibo.com/liaoxuefeng" target="_blank" class="uk-icon-button uk-icon-weibo uk-visible-large uk-hidden-medium" data-uk-tooltip title="Follow author on Weibo"></a>
                </div>
                <div class="uk-width-medium-1-3 uk-hidden-small">
                    <p>
                        <a href="https://github.com/michaelliao/itranswarp.js/issues" target="_blank">意见反馈</a>
                        <br>
                        <a href="https://github.com/michaelliao/itranswarp.js/blob/master/LICENSE" target="_blank">使用许可</a>
                    </p>
                </div>
            </div>
        </div>
    </div>

    <div id="modal-signin" class="uk-modal">
        <div class="uk-modal-dialog">
            <a class="uk-modal-close uk-close"></a>
            <div class="uk-modal-header">
                <h2>Please Sign In</h2>
            </div>
            <p>You can sign in directly without register:</p>
            
            <h3><a href="/auth/from/weibo"><i class="uk-icon-weibo"></i> 使用新浪微博登录</a></h3>
            
            <p>You need authorize to allow connect to your social passport for the first time.</p>
        </div>
    </div>

    <div id="oldBrowser">
        <div class="uk-alert uk-alert-danger" data-uk-alert>
            <a href="#0" class="uk-alert-close uk-close"></a>
            <p>
                WARNING: You are using an old browser that does not support HTML5.
                Please choose a modern browser (<a href="https://www.google.com/chrome" target="_blank">Chrome</a> / <a href="https://www.microsoft.com/windows/microsoft-edge" target="_blank">Microsoft Edge</a> / <a href="https://www.mozilla.org/firefox/" target="_blank">Firefox</a> / <a href="https://www.apple.com/safari/" target="_blank">Sarafi</a>) to get a good experience.
            </p>
        </div>
    </div>
</body>
</html>
